Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 193.5 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.172/2.172, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.14 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5251/0.5264, allocations: 140.4 MB / 0.9491 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.008901/0.5353, allocations: 10.86 MB / 0.9597 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.546, allocations: 8.791 MB / 0.9682 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/0.5466, allocations: 55.41 kB / 0.9683 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003428/0.5501, allocations: 1.564 MB / 0.9698 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.5529, allocations: 1.393 MB / 0.9712 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.5542, allocations: 0.6178 MB / 0.9718 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002446/0.5567, allocations: 2.893 MB / 0.9746 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.5583, allocations: 1.329 MB / 0.9759 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.5594, allocations: 0.8859 MB / 0.9768 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.5606, allocations: 1.032 MB / 0.9778 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.5607, allocations: 85.91 kB / 0.9779 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.5622, allocations: 0.9099 MB / 0.9788 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004449/0.5627, allocations: 0.5177 MB / 0.9793 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000739/0.5634, allocations: 0.8325 MB / 0.9801 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.5655, allocations: 2.542 MB / 0.9826 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5655, allocations: 0 / 0.9826 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of FrontEnd: time 8.21e-07/0.5655, allocations: 0 / 0.9826 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.5655, allocations: 3.938 kB / 0.9826 GB, free: 15.82 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002793/0.5683, allocations: 2.022 MB / 0.9845 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.5684, allocations: 12.03 kB / 0.9845 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002068/0.5686, allocations: 190.1 kB / 0.9847 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.5786, allocations: 2.042 MB / 0.9867 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.5803, allocations: 1.119 MB / 0.9878 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.482e-05/0.5803, allocations: 86.69 kB / 0.9879 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.5805, allocations: 127.8 kB / 0.988 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004717/0.5853, allocations: 2.482 MB / 0.9904 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.5853, allocations: 7.938 kB / 0.9905 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.5855, allocations: 55.98 kB / 0.9905 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003204/0.5858, allocations: 126.1 kB / 0.9906 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006233/0.592, allocations: 2.541 MB / 0.9931 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/0.6029, allocations: 10.07 MB / 1.003 GB, free: 10 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005384/0.6084, allocations: 1.952 MB / 1.005 GB, free: 8.016 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.6107, allocations: 0.966 MB / 1.006 GB, free: 7.047 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.6108, allocations: 8.438 kB / 1.006 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.6108, allocations: 46.98 kB / 1.006 GB, free: 6.984 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 2.144e-06/0.6108, allocations: 0 / 1.006 GB, free: 6.984 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81): time 0.02813/0.6389, allocations: 8.718 MB / 1.014 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.639, allocations: 64 kB / 1.014 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.6402, allocations: 1.093 MB / 1.015 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.6404, allocations: 37.7 kB / 1.016 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005015/0.6409, allocations: 0.734 MB / 1.016 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.6411, allocations: 288 kB / 1.017 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003684/0.6415, allocations: 202.4 kB / 1.017 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6416, allocations: 349.9 kB / 1.017 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/0.6443, allocations: 1.067 MB / 1.018 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002706/0.647, allocations: 1.301 MB / 1.019 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005259/0.6523, allocations: 2.382 MB / 1.022 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6523, allocations: 4 kB / 1.022 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007761/0.6601, allocations: 3.273 MB / 1.025 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6601, allocations: 14.02 kB / 1.025 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6601, allocations: 8 kB / 1.025 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/0.6628, allocations: 0.7911 MB / 1.026 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.6645, allocations: 415.3 kB / 1.026 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/0.678, allocations: 14.7 MB / 1.04 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.68, allocations: 295.5 kB / 1.041 GB, free: 1.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.6801, allocations: 55.95 kB / 1.041 GB, free: 1.785 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006366/0.6807, allocations: 394.5 kB / 1.041 GB, free: 1.391 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.6809, allocations: 142.3 kB / 1.041 GB, free: 1.25 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007896/0.6888, allocations: 3.214 MB / 1.044 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.6889, allocations: 11.94 kB / 1.044 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.6889, allocations: 8 kB / 1.044 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.6889, allocations: 3.984 kB / 1.044 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009733/0.6986, allocations: 4.92 MB / 1.049 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.6987, allocations: 4 kB / 1.049 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/0.7001, allocations: 355.7 kB / 1.05 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002263/0.7024, allocations: 0.694 MB / 1.05 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.7025, allocations: 35.97 kB / 1.05 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/0.7152, allocations: 14.31 MB / 1.064 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7153, allocations: 7.984 kB / 1.064 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007206/0.7225, allocations: 3.038 MB / 1.067 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000601/0.7231, allocations: 387.1 kB / 1.068 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.7233, allocations: 16 kB / 1.068 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.725, allocations: 291.5 kB / 1.068 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.7252, allocations: 80.48 kB / 1.068 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.555e-05/0.7253, allocations: 35.97 kB / 1.068 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009649/0.7263, allocations: 0.7482 MB / 1.069 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7263, allocations: 0 / 1.069 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001342/0.7276, allocations: 432 kB / 1.069 GB, free: 3.328 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007284/0.7349, allocations: 3.616 MB / 1.073 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007209/0.7422, allocations: 3.613 MB / 1.076 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.7422, allocations: 0 / 1.076 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004297/0.7465, allocations: 2.375 MB / 1.079 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.7484, allocations: 488.1 kB / 1.079 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03094/0.7794, allocations: 17.12 MB / 1.096 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009683/0.7804, allocations: 1.391 MB / 1.097 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001488/0.7819, allocations: 383.8 kB / 1.097 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000759/0.7826, allocations: 0.5969 MB / 1.098 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of SimCode: time 5.61e-07/0.7826, allocations: 3.938 kB / 1.098 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05629/0.8389, allocations: 40.11 MB / 1.137 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.8392, allocations: 230.9 kB / 1.137 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/3.557, allocations: 3.938 kB / 1.137 GB, free: 12.94 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches