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.001855/0.001856, allocations: 108 kB / 16.41 MB, free: 6.027 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.00212/0.00212, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.441/1.441, 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 9.1.3-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 0.9516 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8697/0.871, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03723/0.9083, allocations: 33.32 MB / 1.121 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02627/0.9346, allocations: 14.83 MB / 1.136 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004621/0.9392, allocations: 156.5 kB / 1.136 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.9497, allocations: 3.654 MB / 1.139 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.9601, allocations: 2.884 MB / 1.142 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007344/0.9675, allocations: 2.333 MB / 1.144 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01281/0.9803, allocations: 8.821 MB / 1.153 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01528/0.9956, allocations: 9.562 MB / 1.162 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008408/1.004, allocations: 4.018 MB / 1.166 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007711/1.012, allocations: 4.037 MB / 1.17 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002439/1.014, allocations: 0.7148 MB / 1.171 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0066/1.021, allocations: 1.718 MB / 1.173 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005444/1.026, allocations: 2.829 MB / 1.175 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.008604/1.035, allocations: 3.388 MB / 1.179 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01754/1.053, allocations: 11.2 MB / 1.19 GB, free: 6.488 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/1.053, allocations: 4 kB / 1.19 GB, free: 6.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.275e-06/1.053, allocations: 0 / 1.19 GB, free: 6.484 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003517/1.053, allocations: 4 kB / 1.19 GB, free: 6.48 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01549/1.068, allocations: 5.971 MB / 1.196 GB, free: 440 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/1.068, allocations: 8.031 kB / 1.196 GB, free: 432 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007099/1.076, allocations: 1.145 MB / 1.197 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007357/1.083, allocations: 3.527 MB / 1.2 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/1.083, allocations: 374.3 kB / 1.2 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/1.085, allocations: 500 kB / 1.201 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/1.101, allocations: 8.005 MB / 1.209 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/1.101, allocations: 15.84 kB / 1.209 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007046/1.102, allocations: 216 kB / 1.209 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001104/1.103, allocations: 437.6 kB / 1.209 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01204/1.115, allocations: 6.085 MB / 1.215 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04613/1.161, allocations: 34.89 MB / 1.249 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00318/1.165, allocations: 2.022 MB / 1.251 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002744/1.167, allocations: 1.877 MB / 1.253 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/1.167, allocations: 18 kB / 1.253 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/1.168, allocations: 64.39 kB / 1.253 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 3.767e-06/1.168, allocations: 0 / 1.253 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.1582/1.326, allocations: 38.9 MB / 1.291 GB, free: 10.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/1.326, allocations: 81.58 kB / 1.291 GB, free: 10.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00413/1.33, allocations: 2.274 MB / 1.294 GB, free: 8.312 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0005543/1.331, allocations: 73.7 kB / 1.294 GB, free: 8.234 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001612/1.332, allocations: 2.276 MB / 1.296 GB, free: 5.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001214/1.333, allocations: 0.9318 MB / 1.297 GB, free: 4.984 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/1.335, allocations: 0.5061 MB / 1.297 GB, free: 4.469 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.335, allocations: 309.1 kB / 1.298 GB, free: 4.164 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/1.338, allocations: 1.977 MB / 1.299 GB, free: 2.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003553/1.341, allocations: 2.595 MB / 1.302 GB, free: 15.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007775/1.349, allocations: 4.937 MB / 1.307 GB, free: 10.13 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.478e-05/1.349, allocations: 8 kB / 1.307 GB, free: 10.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01662/1.366, allocations: 7.758 MB / 1.314 GB, free: 2.297 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/1.366, allocations: 14.19 kB / 1.314 GB, free: 2.285 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/1.366, allocations: 19.94 kB / 1.314 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009691/1.376, allocations: 3.207 MB / 1.318 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/1.378, allocations: 403.3 kB / 1.318 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04811/1.426, allocations: 33.88 MB / 1.351 GB, free: 11.93 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003526/1.429, allocations: 159.8 kB / 1.351 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005393/1.43, allocations: 108 kB / 1.351 GB, free: 11.66 MB / 1.092 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.004181/1.434, allocations: 1.797 MB / 1.353 GB, free: 9.855 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.435, allocations: 332.1 kB / 1.353 GB, free: 9.527 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/1.45, allocations: 7.357 MB / 1.361 GB, free: 2.09 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.018e-05/1.45, allocations: 31.94 kB / 1.361 GB, free: 2.059 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.49e-05/1.45, allocations: 28 kB / 1.361 GB, free: 2.031 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/1.45, allocations: 20.31 kB / 1.361 GB, free: 2.012 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02641/1.477, allocations: 12.92 MB / 1.373 GB, free: 4.914 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/1.477, allocations: 7.938 kB / 1.373 GB, free: 4.906 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.478, allocations: 232.5 kB / 1.373 GB, free: 4.68 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008451/1.486, allocations: 2.855 MB / 1.376 GB, free: 1.809 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003182/1.487, allocations: 52 kB / 1.376 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04544/1.532, allocations: 32.67 MB / 1.408 GB, free: 240 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/1.532, allocations: 8 kB / 1.408 GB, free: 232 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.547, allocations: 6.887 MB / 1.415 GB, free: 9.121 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002222/1.549, allocations: 0.7782 MB / 1.416 GB, free: 8.32 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/1.55, allocations: 48 kB / 1.416 GB, free: 8.273 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/1.553, allocations: 171.8 kB / 1.416 GB, free: 8.105 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/1.554, allocations: 261.2 kB / 1.416 GB, free: 7.852 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002839/1.554, allocations: 72 kB / 1.416 GB, free: 7.781 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003049/1.557, allocations: 1.525 MB / 1.418 GB, free: 6.254 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.41e-07/1.557, allocations: 0 / 1.418 GB, free: 6.254 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005558/1.563, allocations: 1.371 MB / 1.419 GB, free: 4.883 MB / 1.154 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.0005141/1.564, allocations: 182.9 kB / 1.419 GB, free: 4.699 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01251/1.576, allocations: 6.923 MB / 1.426 GB, free: 13.68 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/1.576, allocations: 8.25 kB / 1.426 GB, free: 13.67 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.008349/1.584, allocations: 4.417 MB / 1.43 GB, free: 9.176 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006923/1.591, allocations: 1.104 MB / 1.431 GB, free: 8.098 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0226/1.614, allocations: 10.77 MB / 1.442 GB, free: 13.23 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006225/1.62, allocations: 3.76 MB / 1.446 GB, free: 9.438 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000842/1.621, allocations: 167.4 kB / 1.446 GB, free: 9.277 MB / 1.186 GB Notification: Performance of SimCode: time 5.41e-07/1.621, allocations: 0 / 1.446 GB, free: 9.277 MB / 1.186 GB Notification: Performance of Templates: time 0.7512/2.372, allocations: 227.6 MB / 1.668 GB, free: 390.8 MB / 1.311 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/jenkins1/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