Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: 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_latest_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_latest_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.007808/0.007808, allocations: 100.6 kB / 15.73 MB, free: 6.031 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.0017/0.0017, allocations: 192.5 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 60.05 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3269, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03457/0.3615, allocations: 33.34 MB / 1.24 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7693/1.131, allocations: 14.82 MB / 1.255 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003488/1.134, allocations: 153.2 kB / 1.255 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008417/1.143, allocations: 3.654 MB / 1.258 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008879/1.152, allocations: 2.89 MB / 1.261 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006713/1.158, allocations: 2.32 MB / 1.264 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01474/1.173, allocations: 8.823 MB / 1.272 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01846/1.192, allocations: 9.574 MB / 1.282 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008204/1.2, allocations: 4.014 MB / 1.285 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007922/1.208, allocations: 4.041 MB / 1.289 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002886/1.211, allocations: 0.7145 MB / 1.29 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006481/1.217, allocations: 1.722 MB / 1.292 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006396/1.224, allocations: 2.825 MB / 1.295 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01357/1.237, allocations: 3.385 MB / 1.298 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02639/1.264, allocations: 11.19 MB / 1.309 GB, free: 13.19 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/1.264, allocations: 3.297 kB / 1.309 GB, free: 13.19 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.726e-06/1.264, allocations: 4 kB / 1.309 GB, free: 13.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0005717/1.264, allocations: 0 / 1.309 GB, free: 13.18 MB / 1.014 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.02817/1.293, allocations: 5.977 MB / 1.315 GB, free: 9.551 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.293, allocations: 9.469 kB / 1.315 GB, free: 9.551 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009531/1.302, allocations: 1.137 MB / 1.316 GB, free: 9.023 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/1.313, allocations: 3.523 MB / 1.319 GB, free: 6.758 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003772/1.314, allocations: 371.9 kB / 1.32 GB, free: 6.598 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002437/1.316, allocations: 0.4912 MB / 1.32 GB, free: 6.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02372/1.34, allocations: 8.002 MB / 1.328 GB, free: 1.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001642/1.34, allocations: 24.58 kB / 1.328 GB, free: 1.555 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007167/1.341, allocations: 215.5 kB / 1.328 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001144/1.342, allocations: 438 kB / 1.328 GB, free: 1.277 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/1.356, allocations: 6.085 MB / 1.334 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04642/1.402, allocations: 34.9 MB / 1.368 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/1.405, allocations: 2.031 MB / 1.37 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/1.407, allocations: 1.865 MB / 1.372 GB, free: 8.508 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/1.407, allocations: 18 kB / 1.372 GB, free: 8.492 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/1.408, allocations: 64.56 kB / 1.372 GB, free: 8.418 MB / 1.061 GB Notification: Performance of pre-optimization done (n=171): time 3.416e-06/1.408, allocations: 0 / 1.372 GB, free: 8.418 MB / 1.061 GB Notification: Performance of matching and sorting (n=276): time 0.1543/1.562, allocations: 38.89 MB / 1.41 GB, free: 1.492 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/1.562, allocations: 77.58 kB / 1.41 GB, free: 1.402 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/1.565, allocations: 2.282 MB / 1.413 GB, free: 15.11 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000476/1.566, allocations: 73.7 kB / 1.413 GB, free: 15.03 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/1.567, allocations: 2.274 MB / 1.415 GB, free: 12.73 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.569, allocations: 0.9329 MB / 1.416 GB, free: 11.81 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/1.57, allocations: 0.5101 MB / 1.416 GB, free: 11.29 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.57, allocations: 305.1 kB / 1.417 GB, free: 10.99 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/1.573, allocations: 1.966 MB / 1.419 GB, free: 9.02 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003274/1.576, allocations: 2.604 MB / 1.421 GB, free: 6.176 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006841/1.583, allocations: 4.935 MB / 1.426 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/1.583, allocations: 7.938 kB / 1.426 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01527/1.598, allocations: 7.762 MB / 1.434 GB, free: 9.137 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/1.598, allocations: 15.94 kB / 1.434 GB, free: 9.121 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/1.598, allocations: 16 kB / 1.434 GB, free: 9.105 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009221/1.607, allocations: 3.22 MB / 1.437 GB, free: 5.871 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/1.609, allocations: 399.4 kB / 1.437 GB, free: 5.48 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04609/1.655, allocations: 33.86 MB / 1.47 GB, free: 2.785 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/1.659, allocations: 167.8 kB / 1.47 GB, free: 2.621 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005478/1.66, allocations: 112 kB / 1.47 GB, free: 2.512 MB / 1.154 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.003908/1.664, allocations: 1.797 MB / 1.472 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008212/1.665, allocations: 332.1 kB / 1.472 GB, free: 384 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.679, allocations: 7.36 MB / 1.48 GB, free: 8.941 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/1.679, allocations: 31.98 kB / 1.48 GB, free: 8.91 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-05/1.679, allocations: 31.94 kB / 1.48 GB, free: 8.879 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.748e-05/1.679, allocations: 15.95 kB / 1.48 GB, free: 8.863 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02683/1.706, allocations: 12.92 MB / 1.492 GB, free: 11.81 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.706, allocations: 8.844 kB / 1.492 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000977/1.707, allocations: 231.6 kB / 1.493 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00847/1.715, allocations: 2.86 MB / 1.495 GB, free: 8.703 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000345/1.716, allocations: 48 kB / 1.495 GB, free: 8.656 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04491/1.761, allocations: 32.66 MB / 1.527 GB, free: 7.156 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-06/1.761, allocations: 7.938 kB / 1.527 GB, free: 7.148 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/1.775, allocations: 6.898 MB / 1.534 GB, free: 36 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002768/1.778, allocations: 0.7782 MB / 1.535 GB, free: 15.23 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001218/1.779, allocations: 56.36 kB / 1.535 GB, free: 15.18 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002682/1.782, allocations: 167.8 kB / 1.535 GB, free: 15.02 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001021/1.783, allocations: 249.5 kB / 1.535 GB, free: 14.77 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002624/1.783, allocations: 80 kB / 1.535 GB, free: 14.7 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003064/1.786, allocations: 1.525 MB / 1.537 GB, free: 13.17 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.9e-07/1.786, allocations: 0 / 1.537 GB, free: 13.17 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.005939/1.792, allocations: 1.371 MB / 1.538 GB, free: 11.8 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.0005826/1.793, allocations: 178.3 kB / 1.538 GB, free: 11.62 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01232/1.805, allocations: 6.946 MB / 1.545 GB, free: 4.578 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.805, allocations: 0 / 1.545 GB, free: 4.578 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00841/1.813, allocations: 4.409 MB / 1.549 GB, free: 92 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006332/1.82, allocations: 1.108 MB / 1.551 GB, free: 15.02 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/1.841, allocations: 10.07 MB / 1.56 GB, free: 4.871 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005903/1.847, allocations: 3.651 MB / 1.564 GB, free: 1.188 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002439/1.849, allocations: 0.5595 MB / 1.564 GB, free: 0.625 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/1.85, allocations: 155.4 kB / 1.565 GB, free: 484 kB / 1.248 GB Notification: Performance of SimCode: time 7.61e-07/1.85, allocations: 0 / 1.565 GB, free: 484 kB / 1.248 GB Notification: Performance of Templates: time 0.1289/1.979, allocations: 77.64 MB / 1.64 GB, free: 3.961 MB / 1.326 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches