Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.001297/0.001297, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001277/0.001277, allocations: 192.9 kB / 16.14 MB, free: 6.711 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.204/1.204, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.377/2.377, allocations: 461.8 MB / 0.7342 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.84 kB / 0.8985 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2386, allocations: 157.4 MB / 1.052 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03263/0.2713, allocations: 34.53 MB / 1.086 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01534/0.2867, allocations: 11.5 MB / 1.097 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.2887, allocations: 147.2 kB / 1.097 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007906/0.2966, allocations: 3.99 MB / 1.101 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003794/0.3004, allocations: 1.875 MB / 1.103 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.3047, allocations: 2.169 MB / 1.105 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009574/0.3143, allocations: 12.41 MB / 1.117 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.014/0.3283, allocations: 12.31 MB / 1.129 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004021/0.3323, allocations: 3.196 MB / 1.132 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004646/0.337, allocations: 4.272 MB / 1.137 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008121/0.3378, allocations: 0.5468 MB / 1.137 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003356/0.3412, allocations: 2.129 MB / 1.139 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002241/0.3434, allocations: 2.818 MB / 1.142 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002811/0.3462, allocations: 3.127 MB / 1.145 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.008599/0.3549, allocations: 11.83 MB / 1.157 GB, free: 12.9 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.3549, allocations: 0 / 1.157 GB, free: 12.9 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3549, allocations: 0 / 1.157 GB, free: 12.9 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001526/0.355, allocations: 3.938 kB / 1.157 GB, free: 12.9 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.00852/0.3636, allocations: 5.799 MB / 1.162 GB, free: 7.027 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3636, allocations: 15.97 kB / 1.162 GB, free: 7.012 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009026/0.3645, allocations: 0.8012 MB / 1.163 GB, free: 6.199 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/0.3695, allocations: 1.064 MB / 1.164 GB, free: 5.129 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004456/0.374, allocations: 3.258 MB / 1.167 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.3742, allocations: 415.5 kB / 1.168 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006833/0.3749, allocations: 0.5392 MB / 1.168 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/0.3868, allocations: 9.079 MB / 1.177 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.3869, allocations: 31.72 kB / 1.177 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004857/0.3874, allocations: 232 kB / 1.177 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003059/0.3877, allocations: 350.8 kB / 1.178 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009642/0.3974, allocations: 6.826 MB / 1.184 GB, free: 28 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03186/0.4293, allocations: 40.11 MB / 1.223 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003298/0.4326, allocations: 3.117 MB / 1.227 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002293/0.4349, allocations: 1.974 MB / 1.228 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.939e-05/0.435, allocations: 18 kB / 1.228 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.435, allocations: 52.56 kB / 1.228 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 3.196e-06/0.435, allocations: 0 / 1.228 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.02091/0.456, allocations: 9.973 MB / 1.238 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.456, allocations: 73.41 kB / 1.238 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.4576, allocations: 1.53 MB / 1.24 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.384e-05/0.4577, allocations: 53.7 kB / 1.24 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.4589, allocations: 2.249 MB / 1.242 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004207/0.4593, allocations: 0.6354 MB / 1.243 GB, free: 188 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3816/0.8409, allocations: 403.1 kB / 1.243 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.552e-05/0.8409, allocations: 306.3 kB / 1.243 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.8426, allocations: 1.177 MB / 1.244 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.8443, allocations: 1.884 MB / 1.246 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/0.8473, allocations: 3.379 MB / 1.25 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.8473, allocations: 5.062 kB / 1.25 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006098/0.8534, allocations: 4.576 MB / 1.254 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.8534, allocations: 14.98 kB / 1.254 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.8535, allocations: 25.11 kB / 1.254 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003352/0.8568, allocations: 1.577 MB / 1.256 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.8579, allocations: 352.5 kB / 1.256 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/0.8774, allocations: 17.02 MB / 1.273 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.8789, allocations: 118.4 kB / 1.273 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.8791, allocations: 93.19 kB / 1.273 GB, free: 163.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002561/0.8817, allocations: 1.895 MB / 1.275 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/0.882, allocations: 221.7 kB / 1.275 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006197/0.8882, allocations: 4.097 MB / 1.279 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.8883, allocations: 18.22 kB / 1.279 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/0.8883, allocations: 22.08 kB / 1.279 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.8883, allocations: 14.02 kB / 1.279 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.9002, allocations: 9.467 MB / 1.288 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.9003, allocations: 4.438 kB / 1.288 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/0.901, allocations: 180.8 kB / 1.288 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002875/0.9039, allocations: 1.363 MB / 1.29 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.289e-05/0.904, allocations: 32.97 kB / 1.29 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.918, allocations: 15.95 MB / 1.305 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.918, allocations: 3.812 kB / 1.305 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004875/0.9229, allocations: 4.079 MB / 1.309 GB, free: 143 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006813/0.9236, allocations: 0.5328 MB / 1.31 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.9238, allocations: 34.91 kB / 1.31 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007676/0.9246, allocations: 87.77 kB / 1.31 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/0.9249, allocations: 163.4 kB / 1.31 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.99e-05/0.925, allocations: 46.94 kB / 1.31 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009476/0.926, allocations: 1.003 MB / 1.311 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.926, allocations: 3.391 kB / 1.311 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002312/0.9283, allocations: 0.9883 MB / 1.312 GB, free: 140.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004845/0.9332, allocations: 4.66 MB / 1.317 GB, free: 135.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005239/0.9384, allocations: 4.274 MB / 1.321 GB, free: 131.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9384, allocations: 0 / 1.321 GB, free: 131.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002962/0.9414, allocations: 2.671 MB / 1.323 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.9438, allocations: 0.7117 MB / 1.324 GB, free: 128.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0325/0.9763, allocations: 30.91 MB / 1.354 GB, free: 95.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/0.979, allocations: 3.572 MB / 1.358 GB, free: 91.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001167/0.9802, allocations: 476.8 kB / 1.358 GB, free: 91.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/0.9815, allocations: 1.78 MB / 1.36 GB, free: 89.38 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.9815, allocations: 0 / 1.36 GB, free: 89.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5807/1.562, allocations: 71.03 MB / 1.429 GB, free: 19.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/1.562, allocations: 258.6 kB / 1.43 GB, free: 18.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/4.326, allocations: 0 / 1.43 GB, free: 18.77 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches