Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, 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.001721/0.001721, allocations: 193.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.572/1.572, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.336/2.336, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7719/0.7732, allocations: 140.3 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03372/0.8069, allocations: 33.04 MB / 0.9812 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02965/0.8366, allocations: 14.78 MB / 0.9956 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006186/0.8428, allocations: 143.2 kB / 0.9958 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.853, allocations: 3.399 MB / 0.9991 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.8635, allocations: 2.696 MB / 1.002 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007852/0.8713, allocations: 2.12 MB / 1.004 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01655/0.8879, allocations: 12.21 MB / 1.016 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01946/0.9074, allocations: 10.36 MB / 1.026 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009158/0.9166, allocations: 3.434 MB / 1.029 GB, free: 15.66 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008736/0.9254, allocations: 4.096 MB / 1.033 GB, free: 11.55 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002953/0.9284, allocations: 488 kB / 1.034 GB, free: 11.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006128/0.9346, allocations: 1.743 MB / 1.035 GB, free: 9.324 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005684/0.9403, allocations: 2.588 MB / 1.038 GB, free: 6.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.009009/0.9493, allocations: 3.119 MB / 1.041 GB, free: 3.598 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01927/0.9686, allocations: 11 MB / 1.052 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.799e-06/0.9687, allocations: 0 / 1.052 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.425e-06/0.9687, allocations: 0 / 1.052 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0005334/0.9693, allocations: 4 kB / 1.052 GB, free: 8.562 MB / 0.8106 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.01928/0.9886, allocations: 5.975 MB / 1.057 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.9886, allocations: 12.03 kB / 1.057 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007201/0.9958, allocations: 1.142 MB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007112/1.003, allocations: 3.321 MB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/1.003, allocations: 374.4 kB / 1.062 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/1.004, allocations: 499.9 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01433/1.019, allocations: 8.013 MB / 1.071 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/1.019, allocations: 19.78 kB / 1.071 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005319/1.019, allocations: 216 kB / 1.071 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001065/1.021, allocations: 433.6 kB / 1.071 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/1.032, allocations: 6.089 MB / 1.077 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04634/1.078, allocations: 35.15 MB / 1.111 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/1.082, allocations: 2.022 MB / 1.113 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002828/1.084, allocations: 1.865 MB / 1.115 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/1.085, allocations: 21.98 kB / 1.115 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/1.085, allocations: 60.5 kB / 1.115 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=171): time 4.758e-06/1.085, allocations: 0 / 1.115 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of matching and sorting (n=276): time 0.1594/1.244, allocations: 38.85 MB / 1.153 GB, free: 12.76 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002053/1.244, allocations: 81.56 kB / 1.153 GB, free: 12.66 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005286/1.25, allocations: 2.282 MB / 1.156 GB, free: 10.37 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005693/1.25, allocations: 73.7 kB / 1.156 GB, free: 10.29 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002071/1.252, allocations: 2.28 MB / 1.158 GB, free: 7.984 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001429/1.254, allocations: 0.928 MB / 1.159 GB, free: 7.043 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001786/1.256, allocations: 0.51 MB / 1.159 GB, free: 6.523 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.256, allocations: 305.1 kB / 1.16 GB, free: 6.223 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003638/1.259, allocations: 1.973 MB / 1.161 GB, free: 4.246 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003872/1.263, allocations: 2.599 MB / 1.164 GB, free: 1.402 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007285/1.271, allocations: 4.933 MB / 1.169 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.459e-05/1.271, allocations: 8 kB / 1.169 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01637/1.287, allocations: 7.757 MB / 1.176 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/1.287, allocations: 17.72 kB / 1.176 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/1.287, allocations: 20.84 kB / 1.176 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/1.297, allocations: 3.213 MB / 1.18 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/1.299, allocations: 399.4 kB / 1.18 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04516/1.344, allocations: 31.08 MB / 1.21 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/1.348, allocations: 159.8 kB / 1.21 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/1.348, allocations: 116.2 kB / 1.211 GB, free: 0.5352 MB / 0.9669 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.003664/1.352, allocations: 1.797 MB / 1.212 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009147/1.353, allocations: 339.9 kB / 1.213 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/1.368, allocations: 7.353 MB / 1.22 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/1.368, allocations: 28 kB / 1.22 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.189e-05/1.368, allocations: 28 kB / 1.22 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.655e-05/1.368, allocations: 15.95 kB / 1.22 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02533/1.394, allocations: 12.94 MB / 1.233 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.394, allocations: 4 kB / 1.233 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009911/1.395, allocations: 235.6 kB / 1.233 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00837/1.403, allocations: 2.851 MB / 1.236 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002711/1.403, allocations: 56 kB / 1.236 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6304/2.034, allocations: 29.89 MB / 1.265 GB, free: 273.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/2.034, allocations: 6.625 kB / 1.265 GB, free: 273.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/2.05, allocations: 6.879 MB / 1.272 GB, free: 271.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002804/2.053, allocations: 0.7792 MB / 1.272 GB, free: 271.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008678/2.054, allocations: 56.31 kB / 1.272 GB, free: 271.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/2.056, allocations: 174.6 kB / 1.273 GB, free: 271.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001179/2.057, allocations: 253.5 kB / 1.273 GB, free: 271.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/2.057, allocations: 74.84 kB / 1.273 GB, free: 271.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002891/2.06, allocations: 1.528 MB / 1.274 GB, free: 270.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.01e-07/2.06, allocations: 0 / 1.274 GB, free: 270.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006701/2.067, allocations: 1.372 MB / 1.276 GB, free: 270.5 MB / 1.014 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.000595/2.067, allocations: 172 kB / 1.276 GB, free: 270.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01317/2.08, allocations: 6.899 MB / 1.283 GB, free: 267.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.898e-05/2.081, allocations: 2.625 kB / 1.283 GB, free: 267.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.008787/2.089, allocations: 4.405 MB / 1.287 GB, free: 265.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006627/2.096, allocations: 1.036 MB / 1.288 GB, free: 264.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0228/2.119, allocations: 12.49 MB / 1.3 GB, free: 258.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005984/2.125, allocations: 3.638 MB / 1.304 GB, free: 256.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003137/2.128, allocations: 0.5567 MB / 1.304 GB, free: 256.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006648/2.129, allocations: 164.5 kB / 1.304 GB, free: 256.6 MB / 1.014 GB Notification: Performance of SimCode: time 1.793e-06/2.129, allocations: 4 kB / 1.304 GB, free: 256.6 MB / 1.014 GB Notification: Performance of Templates: time 0.1127/2.241, allocations: 75.21 MB / 1.378 GB, free: 185.8 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches