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.001686/0.001691, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002219/0.002219, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.496/2.496, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8303/0.8322, allocations: 140.4 MB / 0.9491 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03779/0.87, allocations: 33.03 MB / 0.9814 GB, free: 16 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02544/0.8955, allocations: 14.69 MB / 0.9957 GB, free: 2.383 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005544/0.9011, allocations: 143.2 kB / 0.9958 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.9114, allocations: 3.398 MB / 0.9992 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01262/0.924, allocations: 2.667 MB / 1.002 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008768/0.9328, allocations: 2.142 MB / 1.004 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01327/0.9461, allocations: 8.837 MB / 1.012 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01981/0.966, allocations: 11.36 MB / 1.024 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00801/0.974, allocations: 4.007 MB / 1.027 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007796/0.9818, allocations: 4.221 MB / 1.032 GB, free: 13.43 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.003109/0.985, allocations: 0.7187 MB / 1.032 GB, free: 12.71 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008202/0.9932, allocations: 1.713 MB / 1.034 GB, free: 11 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.007385/1.001, allocations: 2.838 MB / 1.037 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01149/1.012, allocations: 3.388 MB / 1.04 GB, free: 4.75 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01739/1.03, allocations: 11.2 MB / 1.051 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/1.03, allocations: 0 / 1.051 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.017e-06/1.03, allocations: 0 / 1.051 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0007582/1.031, allocations: 0 / 1.051 GB, free: 9.516 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.02376/1.054, allocations: 5.979 MB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/1.054, allocations: 12.03 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008942/1.063, allocations: 1.138 MB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/1.074, allocations: 3.321 MB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004529/1.075, allocations: 382.2 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002603/1.077, allocations: 499.9 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02181/1.099, allocations: 8.009 MB / 1.07 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002713/1.1, allocations: 19.78 kB / 1.07 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001626/1.101, allocations: 216 kB / 1.07 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001189/1.102, allocations: 441.5 kB / 1.071 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/1.118, allocations: 6.081 MB / 1.076 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08324/1.201, allocations: 35.15 MB / 1.111 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005983/1.207, allocations: 2.018 MB / 1.113 GB, free: 6.637 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0055/1.213, allocations: 1.869 MB / 1.115 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/1.213, allocations: 18 kB / 1.115 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/1.213, allocations: 64.44 kB / 1.115 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=171): time 8.836e-06/1.213, allocations: 0 / 1.115 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=276): time 0.2068/1.42, allocations: 38.86 MB / 1.153 GB, free: 13.72 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/1.42, allocations: 85.58 kB / 1.153 GB, free: 13.62 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003549/1.424, allocations: 2.274 MB / 1.155 GB, free: 11.34 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004497/1.424, allocations: 77.69 kB / 1.155 GB, free: 11.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/1.426, allocations: 2.276 MB / 1.157 GB, free: 8.949 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/1.427, allocations: 0.928 MB / 1.158 GB, free: 8.008 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009557/1.428, allocations: 0.5061 MB / 1.159 GB, free: 7.492 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.428, allocations: 305.1 kB / 1.159 GB, free: 7.191 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002909/1.431, allocations: 1.981 MB / 1.161 GB, free: 5.207 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003273/1.434, allocations: 2.599 MB / 1.163 GB, free: 2.363 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006772/1.441, allocations: 4.937 MB / 1.168 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/1.441, allocations: 4 kB / 1.168 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0158/1.457, allocations: 7.758 MB / 1.176 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.476e-05/1.457, allocations: 14.03 kB / 1.176 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-05/1.457, allocations: 20.09 kB / 1.176 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009747/1.467, allocations: 3.236 MB / 1.179 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/1.469, allocations: 403.3 kB / 1.179 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04634/1.515, allocations: 33.9 MB / 1.212 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/1.518, allocations: 163.8 kB / 1.213 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/1.518, allocations: 108 kB / 1.213 GB, free: 14.62 MB / 0.9825 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.003677/1.522, allocations: 1.793 MB / 1.214 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007914/1.523, allocations: 340.1 kB / 1.215 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/1.537, allocations: 7.356 MB / 1.222 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/1.537, allocations: 28 kB / 1.222 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.278e-05/1.537, allocations: 28 kB / 1.222 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.212e-05/1.537, allocations: 16.31 kB / 1.222 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02445/1.562, allocations: 12.92 MB / 1.235 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/1.562, allocations: 11.94 kB / 1.235 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009899/1.563, allocations: 231.8 kB / 1.235 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008534/1.572, allocations: 2.89 MB / 1.238 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003608/1.572, allocations: 63.97 kB / 1.238 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6803/2.252, allocations: 32.68 MB / 1.27 GB, free: 271.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.65e-05/2.252, allocations: 10.78 kB / 1.27 GB, free: 271.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/2.267, allocations: 6.883 MB / 1.276 GB, free: 269 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002607/2.27, allocations: 0.7802 MB / 1.277 GB, free: 268.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006082/2.271, allocations: 53.75 kB / 1.277 GB, free: 268.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/2.272, allocations: 173.1 kB / 1.277 GB, free: 268.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/2.273, allocations: 256.3 kB / 1.278 GB, free: 268.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/2.274, allocations: 74.97 kB / 1.278 GB, free: 268.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00256/2.276, allocations: 1.521 MB / 1.279 GB, free: 268 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/2.276, allocations: 0 / 1.279 GB, free: 268 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005803/2.282, allocations: 1.369 MB / 1.281 GB, free: 267.8 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.0004103/2.282, allocations: 184.1 kB / 1.281 GB, free: 267.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01465/2.297, allocations: 8.38 MB / 1.289 GB, free: 264.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.402e-05/2.297, allocations: 3.125 kB / 1.289 GB, free: 264.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007532/2.305, allocations: 4.413 MB / 1.293 GB, free: 262.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005721/2.311, allocations: 1.11 MB / 1.294 GB, free: 262.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/2.331, allocations: 12.49 MB / 1.306 GB, free: 255.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004585/2.335, allocations: 3.652 MB / 1.31 GB, free: 253.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002327/2.338, allocations: 0.5535 MB / 1.311 GB, free: 253.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/2.338, allocations: 160.2 kB / 1.311 GB, free: 253.6 MB / 1.014 GB Notification: Performance of SimCode: time 2.044e-06/2.338, allocations: 5.969 kB / 1.311 GB, free: 253.6 MB / 1.014 GB Notification: Performance of Templates: time 0.1148/2.453, allocations: 78.07 MB / 1.387 GB, free: 176.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