Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.006401/0.006401, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.0018/0.0018, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.259/2.259, allocations: 437.1 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 72.09 kB / 1.018 GB, free: 9.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6322/0.6339, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03585/0.6698, allocations: 33.35 MB / 1.199 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02173/0.6916, allocations: 14.82 MB / 1.213 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002645/0.6943, allocations: 151.2 kB / 1.213 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.008259/0.7026, allocations: 3.655 MB / 1.217 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00684/0.7094, allocations: 2.887 MB / 1.22 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005055/0.7145, allocations: 2.325 MB / 1.222 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01016/0.7246, allocations: 8.818 MB / 1.231 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.012/0.7367, allocations: 9.571 MB / 1.24 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005958/0.7426, allocations: 3.961 MB / 1.244 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006158/0.7488, allocations: 4.038 MB / 1.248 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001341/0.7502, allocations: 0.7148 MB / 1.249 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003341/0.7535, allocations: 1.716 MB / 1.25 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002595/0.7561, allocations: 2.83 MB / 1.253 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003678/0.7598, allocations: 3.392 MB / 1.256 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.7714, allocations: 11.21 MB / 1.267 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7714, allocations: 0 / 1.267 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7714, allocations: 4 kB / 1.267 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002192/0.7716, allocations: 0 / 1.267 GB, free: 11.9 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01081/0.7824, allocations: 6.132 MB / 1.273 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.7825, allocations: 16.86 kB / 1.273 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009462/0.7835, allocations: 0.7271 MB / 1.274 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005938/0.7894, allocations: 1.164 MB / 1.275 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006107/0.7955, allocations: 3.549 MB / 1.279 GB, free: 136 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002709/0.7958, allocations: 370.4 kB / 1.279 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007982/0.7966, allocations: 0.4921 MB / 1.279 GB, free: 15.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.8086, allocations: 7.997 MB / 1.287 GB, free: 7.004 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.8087, allocations: 23.83 kB / 1.287 GB, free: 6.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004924/0.8092, allocations: 216 kB / 1.287 GB, free: 6.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001005/0.8102, allocations: 437.5 kB / 1.288 GB, free: 6.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009175/0.8194, allocations: 6.088 MB / 1.294 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03396/0.8534, allocations: 34.96 MB / 1.328 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.856, allocations: 2.03 MB / 1.33 GB, free: 8.074 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002505/0.8585, allocations: 1.873 MB / 1.332 GB, free: 6.203 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.8587, allocations: 18 kB / 1.332 GB, free: 6.184 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/0.8587, allocations: 64.48 kB / 1.332 GB, free: 6.113 MB / 1.061 GB Notification: Performance of pre-optimization done (n=171): time 3.156e-06/0.8587, allocations: 0 / 1.332 GB, free: 6.113 MB / 1.061 GB Notification: Performance of matching and sorting (n=276): time 0.1417/1, allocations: 38.97 MB / 1.37 GB, free: 15.04 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/1, allocations: 81.58 kB / 1.37 GB, free: 14.95 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003022/1.004, allocations: 2.278 MB / 1.372 GB, free: 12.65 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002449/1.004, allocations: 73.7 kB / 1.372 GB, free: 12.57 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001601/1.005, allocations: 2.334 MB / 1.374 GB, free: 10.22 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008294/1.006, allocations: 0.9876 MB / 1.375 GB, free: 9.227 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008982/1.007, allocations: 0.5064 MB / 1.376 GB, free: 8.711 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.007, allocations: 309 kB / 1.376 GB, free: 8.406 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002757/1.01, allocations: 1.973 MB / 1.378 GB, free: 6.43 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003274/1.013, allocations: 2.606 MB / 1.381 GB, free: 3.578 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006401/1.02, allocations: 4.925 MB / 1.386 GB, free: 14.38 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/1.02, allocations: 8 kB / 1.386 GB, free: 14.37 MB / 1.123 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01395/1.034, allocations: 7.771 MB / 1.393 GB, free: 6.531 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/1.034, allocations: 12 kB / 1.393 GB, free: 6.52 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/1.034, allocations: 16 kB / 1.393 GB, free: 6.504 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008793/1.043, allocations: 3.222 MB / 1.396 GB, free: 3.266 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/1.044, allocations: 399.3 kB / 1.397 GB, free: 2.875 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04421/1.088, allocations: 33.9 MB / 1.43 GB, free: 124 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/1.091, allocations: 159.8 kB / 1.43 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/1.091, allocations: 108 kB / 1.43 GB, free: 15.86 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002794/1.094, allocations: 1.799 MB / 1.432 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005115/1.094, allocations: 350.1 kB / 1.432 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/1.108, allocations: 7.36 MB / 1.439 GB, free: 6.266 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/1.108, allocations: 28 kB / 1.439 GB, free: 6.238 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.452e-05/1.108, allocations: 39.94 kB / 1.439 GB, free: 6.199 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/1.108, allocations: 11.95 kB / 1.439 GB, free: 6.188 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02055/1.129, allocations: 12.92 MB / 1.452 GB, free: 9.086 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/1.129, allocations: 8 kB / 1.452 GB, free: 9.078 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008587/1.129, allocations: 235.7 kB / 1.452 GB, free: 8.848 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007653/1.137, allocations: 2.841 MB / 1.455 GB, free: 5.988 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/1.137, allocations: 60 kB / 1.455 GB, free: 5.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04201/1.179, allocations: 32.69 MB / 1.487 GB, free: 4.391 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/1.179, allocations: 15.94 kB / 1.487 GB, free: 4.375 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/1.191, allocations: 6.904 MB / 1.494 GB, free: 13.26 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.193, allocations: 0.7956 MB / 1.495 GB, free: 12.45 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003896/1.193, allocations: 51.98 kB / 1.495 GB, free: 12.39 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/1.195, allocations: 167.8 kB / 1.495 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007124/1.196, allocations: 257.4 kB / 1.495 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/1.196, allocations: 76.38 kB / 1.495 GB, free: 11.9 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002009/1.198, allocations: 1.525 MB / 1.497 GB, free: 10.38 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.8e-07/1.198, allocations: 4 kB / 1.497 GB, free: 10.37 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003178/1.201, allocations: 1.367 MB / 1.498 GB, free: 9.004 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01196/1.213, allocations: 7.533 MB / 1.505 GB, free: 1.25 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0109/1.224, allocations: 6.942 MB / 1.512 GB, free: 10.21 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/1.224, allocations: 0.875 kB / 1.512 GB, free: 10.21 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.007102/1.231, allocations: 4.436 MB / 1.516 GB, free: 5.699 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/1.235, allocations: 1.118 MB / 1.517 GB, free: 4.617 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5099/1.745, allocations: 39.18 MB / 1.556 GB, free: 358.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003176/1.748, allocations: 3.645 MB / 1.559 GB, free: 357.3 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001564/1.75, allocations: 0.5655 MB / 1.56 GB, free: 357.2 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.751, allocations: 1.973 MB / 1.562 GB, free: 357.2 MB / 1.279 GB Notification: Performance of SimCode: time 1.052e-06/1.751, allocations: 0 / 1.562 GB, free: 357.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 19.98/21.74, allocations: 111.6 MB / 1.671 GB, free: 268.6 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.2/40.94, allocations: 5.906 kB / 1.671 GB, free: 268.6 MB / 1.279 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches