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: 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_10_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_10_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.001522/0.001522, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001717/0.001717, allocations: 187 kB / 17.34 MB, free: 5.762 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 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.499/2.499, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 71.84 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8756/0.8775, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04089/0.9185, allocations: 33.35 MB / 1.2 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02587/0.9444, allocations: 14.82 MB / 1.214 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004365/0.9488, allocations: 151.2 kB / 1.214 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01067/0.9596, allocations: 3.666 MB / 1.218 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.9704, allocations: 2.993 MB / 1.221 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0079/0.9783, allocations: 2.324 MB / 1.223 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01467/0.993, allocations: 8.838 MB / 1.232 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01686/1.01, allocations: 9.562 MB / 1.241 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007972/1.018, allocations: 4.024 MB / 1.245 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008099/1.026, allocations: 4.03 MB / 1.249 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002737/1.029, allocations: 0.7148 MB / 1.25 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00507/1.034, allocations: 1.72 MB / 1.251 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.005352/1.039, allocations: 2.83 MB / 1.254 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.008304/1.048, allocations: 3.388 MB / 1.258 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01769/1.065, allocations: 11.19 MB / 1.268 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/1.066, allocations: 3.984 kB / 1.268 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.304e-06/1.066, allocations: 0 / 1.268 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004043/1.066, allocations: 0 / 1.268 GB, free: 11.89 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.01767/1.084, allocations: 5.981 MB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.084, allocations: 12.88 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00804/1.092, allocations: 1.138 MB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009714/1.101, allocations: 3.52 MB / 1.279 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004481/1.102, allocations: 382.4 kB / 1.279 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002221/1.104, allocations: 500 kB / 1.28 GB, free: 216 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01877/1.123, allocations: 7.997 MB / 1.288 GB, free: 7.938 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002291/1.123, allocations: 19.78 kB / 1.288 GB, free: 7.918 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001455/1.125, allocations: 219.9 kB / 1.288 GB, free: 7.703 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001173/1.126, allocations: 445.5 kB / 1.288 GB, free: 7.266 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/1.139, allocations: 6.085 MB / 1.294 GB, free: 1.168 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04844/1.188, allocations: 34.89 MB / 1.328 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/1.191, allocations: 2.018 MB / 1.33 GB, free: 9.078 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002711/1.194, allocations: 1.873 MB / 1.332 GB, free: 7.207 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/1.194, allocations: 18 kB / 1.332 GB, free: 7.188 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/1.194, allocations: 60.5 kB / 1.332 GB, free: 7.121 MB / 1.061 GB Notification: Performance of pre-optimization done (n=171): time 3.857e-06/1.194, allocations: 0 / 1.332 GB, free: 7.121 MB / 1.061 GB Notification: Performance of matching and sorting (n=276): time 0.1525/1.347, allocations: 38.9 MB / 1.37 GB, free: 116 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/1.347, allocations: 81.58 kB / 1.37 GB, free: 20 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/1.351, allocations: 2.278 MB / 1.372 GB, free: 13.73 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0005104/1.352, allocations: 73.64 kB / 1.372 GB, free: 13.65 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001846/1.353, allocations: 2.276 MB / 1.375 GB, free: 11.34 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001174/1.355, allocations: 0.9396 MB / 1.376 GB, free: 10.39 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/1.356, allocations: 0.5022 MB / 1.376 GB, free: 9.879 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.356, allocations: 305.1 kB / 1.376 GB, free: 9.578 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003065/1.359, allocations: 1.973 MB / 1.378 GB, free: 7.602 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003499/1.363, allocations: 2.606 MB / 1.381 GB, free: 4.75 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00709/1.37, allocations: 4.929 MB / 1.386 GB, free: 15.55 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/1.37, allocations: 8 kB / 1.386 GB, free: 15.54 MB / 1.123 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01596/1.386, allocations: 7.75 MB / 1.393 GB, free: 7.719 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/1.386, allocations: 12 kB / 1.393 GB, free: 7.707 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/1.386, allocations: 24 kB / 1.393 GB, free: 7.684 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009914/1.396, allocations: 3.213 MB / 1.396 GB, free: 4.453 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/1.398, allocations: 399.3 kB / 1.397 GB, free: 4.062 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04828/1.446, allocations: 33.88 MB / 1.43 GB, free: 1.34 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/1.449, allocations: 163.8 kB / 1.43 GB, free: 1.18 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005172/1.45, allocations: 108 kB / 1.43 GB, free: 1.074 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.003441/1.453, allocations: 1.797 MB / 1.432 GB, free: 15.27 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009041/1.454, allocations: 328.1 kB / 1.432 GB, free: 14.94 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/1.469, allocations: 7.36 MB / 1.439 GB, free: 7.5 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/1.469, allocations: 24 kB / 1.439 GB, free: 7.477 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.059e-05/1.469, allocations: 39.98 kB / 1.439 GB, free: 7.438 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.796e-05/1.469, allocations: 15.94 kB / 1.439 GB, free: 7.422 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02745/1.497, allocations: 12.91 MB / 1.452 GB, free: 10.33 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.826e-05/1.497, allocations: 8.062 kB / 1.452 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/1.498, allocations: 239.6 kB / 1.452 GB, free: 10.09 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009015/1.507, allocations: 2.848 MB / 1.455 GB, free: 7.219 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004231/1.508, allocations: 52 kB / 1.455 GB, free: 7.168 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04641/1.554, allocations: 32.65 MB / 1.487 GB, free: 5.652 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/1.554, allocations: 15.94 kB / 1.487 GB, free: 5.637 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/1.568, allocations: 6.89 MB / 1.494 GB, free: 14.54 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002553/1.571, allocations: 0.7782 MB / 1.495 GB, free: 13.73 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/1.572, allocations: 67.86 kB / 1.495 GB, free: 13.67 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002515/1.574, allocations: 167.8 kB / 1.495 GB, free: 13.5 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009429/1.575, allocations: 253.4 kB / 1.495 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002975/1.576, allocations: 76 kB / 1.495 GB, free: 13.18 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002714/1.578, allocations: 1.529 MB / 1.497 GB, free: 11.65 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.5e-07/1.578, allocations: 0 / 1.497 GB, free: 11.65 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.005238/1.584, allocations: 1.367 MB / 1.498 GB, free: 10.28 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.0005625/1.584, allocations: 182.8 kB / 1.498 GB, free: 10.1 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01217/1.596, allocations: 6.927 MB / 1.505 GB, free: 3.082 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/1.597, allocations: 4 kB / 1.505 GB, free: 3.078 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.008156/1.605, allocations: 4.398 MB / 1.509 GB, free: 14.59 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006081/1.611, allocations: 1.113 MB / 1.51 GB, free: 13.52 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/1.634, allocations: 10.78 MB / 1.521 GB, free: 2.648 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006135/1.64, allocations: 3.753 MB / 1.524 GB, free: 14.86 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000792/1.641, allocations: 171.4 kB / 1.525 GB, free: 14.69 MB / 1.264 GB Notification: Performance of SimCode: time 7.01e-07/1.641, allocations: 0 / 1.525 GB, free: 14.69 MB / 1.264 GB Notification: Performance of Templates: time 0.8099/2.45, allocations: 227.6 MB / 1.747 GB, free: 179.4 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (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 & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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