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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001409/0.001409, allocations: 117.2 kB / 16.37 MB, free: 6.012 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.001481/0.001481, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.364/1.364, 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 11.0.0-master/package.mo): time 2.79/2.79, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 64.03 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3109, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04366/0.3546, allocations: 33.34 MB / 1.059 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02758/0.3822, allocations: 14.82 MB / 1.074 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004494/0.3867, allocations: 163.2 kB / 1.074 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.5855/0.9723, allocations: 3.637 MB / 1.077 GB, free: 18.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.9827, allocations: 2.89 MB / 1.08 GB, free: 18.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007403/0.9902, allocations: 2.328 MB / 1.083 GB, free: 18.79 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01615/1.006, allocations: 8.817 MB / 1.091 GB, free: 18.37 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01651/1.023, allocations: 9.562 MB / 1.101 GB, free: 16.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01067/1.034, allocations: 3.966 MB / 1.104 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/1.045, allocations: 4.032 MB / 1.108 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003163/1.048, allocations: 0.7156 MB / 1.109 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006783/1.055, allocations: 1.719 MB / 1.111 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005711/1.061, allocations: 2.823 MB / 1.113 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.009731/1.07, allocations: 3.388 MB / 1.117 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01882/1.089, allocations: 11.19 MB / 1.128 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/1.089, allocations: 1.125 kB / 1.128 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.994e-06/1.089, allocations: 0 / 1.128 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003879/1.09, allocations: 0 / 1.128 GB, free: 5.348 MB / 0.8419 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.01976/1.109, allocations: 5.983 MB / 1.134 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.11, allocations: 8.781 kB / 1.134 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008745/1.118, allocations: 1.138 MB / 1.135 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/1.129, allocations: 3.516 MB / 1.138 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004396/1.129, allocations: 380.8 kB / 1.138 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002718/1.132, allocations: 492.3 kB / 1.139 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/1.153, allocations: 8.007 MB / 1.147 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/1.154, allocations: 22.66 kB / 1.147 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006576/1.154, allocations: 216.3 kB / 1.147 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009631/1.155, allocations: 443.9 kB / 1.147 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/1.168, allocations: 6.075 MB / 1.153 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05577/1.224, allocations: 34.9 MB / 1.187 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/1.228, allocations: 2.03 MB / 1.189 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002779/1.231, allocations: 1.867 MB / 1.191 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/1.231, allocations: 18 kB / 1.191 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/1.231, allocations: 58.97 kB / 1.191 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=171): time 3.998e-06/1.231, allocations: 0 / 1.191 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=276): time 0.1437/1.375, allocations: 38.88 MB / 1.229 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/1.375, allocations: 81.58 kB / 1.229 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00477/1.379, allocations: 2.278 MB / 1.232 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0006048/1.38, allocations: 73.7 kB / 1.232 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001984/1.382, allocations: 2.286 MB / 1.234 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/1.383, allocations: 0.9267 MB / 1.235 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001695/1.385, allocations: 0.5061 MB / 1.235 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.385, allocations: 305.1 kB / 1.236 GB, free: 14 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/1.389, allocations: 1.973 MB / 1.237 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003795/1.393, allocations: 2.602 MB / 1.24 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00703/1.4, allocations: 4.936 MB / 1.245 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.087e-05/1.4, allocations: 4 kB / 1.245 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01504/1.415, allocations: 7.749 MB / 1.252 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/1.415, allocations: 12 kB / 1.252 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/1.415, allocations: 20 kB / 1.252 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009404/1.424, allocations: 3.213 MB / 1.256 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/1.426, allocations: 399.4 kB / 1.256 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04809/1.474, allocations: 33.88 MB / 1.289 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003872/1.478, allocations: 163.8 kB / 1.289 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006889/1.479, allocations: 104 kB / 1.289 GB, free: 5.531 MB / 0.9981 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.004824/1.484, allocations: 1.805 MB / 1.291 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/1.485, allocations: 332 kB / 1.291 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/1.5, allocations: 7.358 MB / 1.299 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/1.5, allocations: 28 kB / 1.299 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-05/1.5, allocations: 32 kB / 1.299 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.712e-05/1.5, allocations: 15.94 kB / 1.299 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02687/1.527, allocations: 12.92 MB / 1.311 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/1.527, allocations: 12.19 kB / 1.311 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/1.528, allocations: 234.2 kB / 1.312 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00823/1.536, allocations: 2.852 MB / 1.314 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000338/1.536, allocations: 51.98 kB / 1.314 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04333/1.58, allocations: 32.66 MB / 1.346 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/1.58, allocations: 12.31 kB / 1.346 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.593, allocations: 6.892 MB / 1.353 GB, free: 3.055 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00275/1.596, allocations: 0.7744 MB / 1.354 GB, free: 2.258 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.597, allocations: 59.94 kB / 1.354 GB, free: 2.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/1.6, allocations: 171.8 kB / 1.354 GB, free: 2.031 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009848/1.601, allocations: 252.7 kB / 1.354 GB, free: 1.789 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002878/1.601, allocations: 80 kB / 1.354 GB, free: 1.711 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003147/1.604, allocations: 1.525 MB / 1.356 GB, free: 188 kB / 1.061 GB Notification: Performance of sort global known variables: time 2.595e-06/1.604, allocations: 0 / 1.356 GB, free: 188 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.006009/1.61, allocations: 1.375 MB / 1.357 GB, free: 14.8 MB / 1.076 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.0005105/1.611, allocations: 175 kB / 1.357 GB, free: 14.62 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0118/1.623, allocations: 6.919 MB / 1.364 GB, free: 7.613 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/1.623, allocations: 4 kB / 1.364 GB, free: 7.609 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.008201/1.631, allocations: 4.414 MB / 1.368 GB, free: 3.121 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007276/1.638, allocations: 1.1 MB / 1.369 GB, free: 2.055 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02446/1.663, allocations: 10.1 MB / 1.379 GB, free: 7.879 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008862/1.672, allocations: 3.643 MB / 1.383 GB, free: 4.203 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002927/1.675, allocations: 0.5556 MB / 1.383 GB, free: 3.645 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007172/1.675, allocations: 159.4 kB / 1.384 GB, free: 3.488 MB / 1.092 GB Notification: Performance of SimCode: time 1.082e-06/1.675, allocations: 0 / 1.384 GB, free: 3.488 MB / 1.092 GB Notification: Performance of Templates: time 0.1264/1.802, allocations: 75 MB / 1.457 GB, free: 9.641 MB / 1.17 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 -s gbode -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/jenkins1/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