Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.0014/0.0014, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00155/0.00155, allocations: 190.8 kB / 16.25 MB, free: 6.637 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.29/1.29, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 68.08 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5068/0.508, allocations: 140.4 MB / 0.9493 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006481/0.5146, allocations: 6.743 MB / 0.9558 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003493/0.5181, allocations: 3.014 MB / 0.9588 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/0.5183, allocations: 21.62 kB / 0.9588 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.5202, allocations: 0.8956 MB / 0.9597 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006541/0.5208, allocations: 468.5 kB / 0.9601 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006228/0.5215, allocations: 378.5 kB / 0.9605 GB, free: 176 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.5225, allocations: 1.229 MB / 0.9617 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008966/0.5234, allocations: 0.7367 MB / 0.9624 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.5239, allocations: 472.7 kB / 0.9629 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005553/0.5245, allocations: 0.5422 MB / 0.9634 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.532e-05/0.5246, allocations: 67.28 kB / 0.9634 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.5251, allocations: 379.8 kB / 0.9638 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.5254, allocations: 311.9 kB / 0.9641 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.5258, allocations: 448.2 kB / 0.9645 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.5269, allocations: 1.235 MB / 0.9657 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5269, allocations: 1.094 kB / 0.9657 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5269, allocations: 0 / 0.9657 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.5269, allocations: 0 / 0.9657 GB, free: 12.96 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001729/0.5287, allocations: 1.161 MB / 0.9669 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5287, allocations: 9.719 kB / 0.9669 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.5288, allocations: 118.3 kB / 0.967 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.5303, allocations: 236 kB / 0.9672 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/0.5311, allocations: 0.5508 MB / 0.9678 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.5312, allocations: 52.02 kB / 0.9678 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.5313, allocations: 66.02 kB / 0.9679 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.5327, allocations: 1.084 MB / 0.9689 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.5327, allocations: 6.594 kB / 0.9689 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/0.5328, allocations: 29.48 kB / 0.969 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.533, allocations: 84.34 kB / 0.969 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.5341, allocations: 0.7532 MB / 0.9698 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004959/0.539, allocations: 5.893 MB / 0.9755 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009537/0.54, allocations: 0.5611 MB / 0.9761 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/0.5404, allocations: 327.5 kB / 0.9764 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.5405, allocations: 4.5 kB / 0.9764 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.5405, allocations: 38.97 kB / 0.9764 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 1.573e-06/0.5405, allocations: 0 / 0.9764 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.003615/0.5441, allocations: 1.986 MB / 0.9784 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.5442, allocations: 56.75 kB / 0.9784 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005814/0.5448, allocations: 0.5585 MB / 0.979 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.5448, allocations: 36.3 kB / 0.979 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.5451, allocations: 415.1 kB / 0.9794 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.5452, allocations: 167.8 kB / 0.9796 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.5454, allocations: 128.3 kB / 0.9797 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5456, allocations: 377.9 kB / 0.9801 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.546, allocations: 270.5 kB / 0.9803 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.5465, allocations: 0.4893 MB / 0.9808 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009806/0.5475, allocations: 0.8171 MB / 0.9816 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5475, allocations: 0 / 0.9816 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001702/0.5492, allocations: 1.079 MB / 0.9826 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.5492, allocations: 8.125 kB / 0.9826 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5492, allocations: 15.94 kB / 0.9827 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007755/0.55, allocations: 279.2 kB / 0.9829 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.5505, allocations: 131.7 kB / 0.9831 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006115/0.5566, allocations: 7.134 MB / 0.99 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.5571, allocations: 35.95 kB / 0.9901 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.5572, allocations: 32 kB / 0.9901 GB, free: 6.633 MB / 0.7481 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0002749/0.5575, allocations: 249.5 kB / 0.9903 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.5576, allocations: 79.22 kB / 0.9904 GB, free: 6.301 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.5591, allocations: 0.8845 MB / 0.9913 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5591, allocations: 8 kB / 0.9913 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5591, allocations: 4 kB / 0.9913 GB, free: 5.383 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.5591, allocations: 3.984 kB / 0.9913 GB, free: 5.379 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.5615, allocations: 1.72 MB / 0.993 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5615, allocations: 7.938 kB / 0.993 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.5618, allocations: 63.88 kB / 0.993 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007092/0.5625, allocations: 263.4 kB / 0.9933 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.5626, allocations: 16.06 kB / 0.9933 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006017/0.5686, allocations: 7.126 MB / 1 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5686, allocations: 4.031 kB / 1 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.57, allocations: 0.9834 MB / 1.001 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.5702, allocations: 192.2 kB / 1.001 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.5703, allocations: 15.94 kB / 1.001 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.5707, allocations: 27.95 kB / 1.001 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.924e-05/0.5708, allocations: 40.03 kB / 1.001 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.5708, allocations: 16 kB / 1.001 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003737/0.5712, allocations: 379.1 kB / 1.002 GB, free: 9.82 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5712, allocations: 0 / 1.002 GB, free: 9.82 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006771/0.5719, allocations: 232 kB / 1.002 GB, free: 9.594 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001657/0.5736, allocations: 1.544 MB / 1.004 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.5755, allocations: 1.334 MB / 1.005 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5755, allocations: 0 / 1.005 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.5766, allocations: 0.8932 MB / 1.006 GB, free: 5.664 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009546/0.5776, allocations: 213.6 kB / 1.006 GB, free: 5.457 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008212/0.5858, allocations: 6.815 MB / 1.013 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.5864, allocations: 1.009 MB / 1.014 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003842/0.5868, allocations: 118 kB / 1.014 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.5871, allocations: 255.3 kB / 1.014 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.5871, allocations: 0 / 1.014 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.527/1.114, allocations: 17.11 MB / 1.031 GB, free: 12.1 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/1.114, allocations: 232.8 kB / 1.031 GB, free: 11.84 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/3.247, allocations: 0 / 1.031 GB, free: 11.84 MB / 0.795 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches