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.001297/0.001297, allocations: 110.4 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.001243/0.001243, allocations: 189.2 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.499/1.499, 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.791/2.791, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 59.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9273/0.9294, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04231/0.9718, allocations: 33.34 MB / 1.2 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02801/0.9998, allocations: 14.84 MB / 1.214 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004483/1.004, allocations: 151.2 kB / 1.215 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01045/1.015, allocations: 3.687 MB / 1.218 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01074/1.026, allocations: 2.995 MB / 1.221 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007468/1.033, allocations: 2.325 MB / 1.223 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01424/1.047, allocations: 8.831 MB / 1.232 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01872/1.066, allocations: 9.577 MB / 1.241 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008518/1.075, allocations: 4.016 MB / 1.245 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008012/1.083, allocations: 4.038 MB / 1.249 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002434/1.085, allocations: 0.7148 MB / 1.25 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005203/1.091, allocations: 1.716 MB / 1.252 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004944/1.095, allocations: 2.83 MB / 1.254 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.008719/1.104, allocations: 3.392 MB / 1.258 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01884/1.123, allocations: 11.21 MB / 1.269 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/1.123, allocations: 0 / 1.269 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.046e-06/1.123, allocations: 3.938 kB / 1.269 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004369/1.124, allocations: 4 kB / 1.269 GB, free: 11.75 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.018/1.142, allocations: 6.132 MB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.142, allocations: 16.88 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00813/1.15, allocations: 1.164 MB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009052/1.159, allocations: 3.541 MB / 1.279 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004054/1.159, allocations: 374.4 kB / 1.28 GB, free: 376 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002192/1.162, allocations: 496 kB / 1.28 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/1.181, allocations: 8.001 MB / 1.288 GB, free: 7.605 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001844/1.182, allocations: 27.81 kB / 1.288 GB, free: 7.578 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008319/1.183, allocations: 220 kB / 1.288 GB, free: 7.363 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001151/1.184, allocations: 437.6 kB / 1.288 GB, free: 6.934 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/1.198, allocations: 6.081 MB / 1.294 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05131/1.249, allocations: 34.96 MB / 1.329 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003669/1.253, allocations: 2.022 MB / 1.331 GB, free: 8.684 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/1.256, allocations: 1.873 MB / 1.332 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/1.256, allocations: 18 kB / 1.332 GB, free: 6.793 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.79e-05/1.256, allocations: 60.5 kB / 1.332 GB, free: 6.727 MB / 1.061 GB Notification: Performance of pre-optimization done (n=171): time 4.308e-06/1.256, allocations: 0 / 1.332 GB, free: 6.727 MB / 1.061 GB Notification: Performance of matching and sorting (n=276): time 0.1564/1.412, allocations: 38.97 MB / 1.37 GB, free: 15.66 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/1.412, allocations: 81.58 kB / 1.371 GB, free: 15.56 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003671/1.416, allocations: 2.282 MB / 1.373 GB, free: 13.27 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0004137/1.417, allocations: 77.7 kB / 1.373 GB, free: 13.18 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001939/1.419, allocations: 2.33 MB / 1.375 GB, free: 10.83 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.42, allocations: 0.9876 MB / 1.376 GB, free: 9.836 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/1.421, allocations: 0.5102 MB / 1.377 GB, free: 9.316 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.421, allocations: 309 kB / 1.377 GB, free: 9.012 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003163/1.424, allocations: 1.977 MB / 1.379 GB, free: 7.031 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003696/1.428, allocations: 2.599 MB / 1.381 GB, free: 4.188 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007343/1.435, allocations: 4.933 MB / 1.386 GB, free: 14.98 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/1.435, allocations: 4 kB / 1.386 GB, free: 14.98 MB / 1.123 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01596/1.451, allocations: 7.77 MB / 1.394 GB, free: 7.137 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/1.451, allocations: 12 kB / 1.394 GB, free: 7.125 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/1.451, allocations: 16 kB / 1.394 GB, free: 7.109 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009763/1.461, allocations: 3.225 MB / 1.397 GB, free: 3.867 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/1.463, allocations: 403.4 kB / 1.397 GB, free: 3.473 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05169/1.515, allocations: 33.89 MB / 1.43 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003529/1.518, allocations: 163.8 kB / 1.431 GB, free: 0.5703 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005285/1.519, allocations: 112 kB / 1.431 GB, free: 472 kB / 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.003931/1.523, allocations: 1.791 MB / 1.432 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008742/1.524, allocations: 345.9 kB / 1.433 GB, free: 14.32 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/1.54, allocations: 7.368 MB / 1.44 GB, free: 6.867 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/1.54, allocations: 28 kB / 1.44 GB, free: 6.84 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.753e-05/1.54, allocations: 31.98 kB / 1.44 GB, free: 6.809 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-05/1.54, allocations: 11.95 kB / 1.44 GB, free: 6.797 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02551/1.565, allocations: 12.93 MB / 1.453 GB, free: 9.695 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-05/1.565, allocations: 11.94 kB / 1.453 GB, free: 9.684 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/1.566, allocations: 227.6 kB / 1.453 GB, free: 9.461 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008656/1.575, allocations: 2.85 MB / 1.456 GB, free: 6.594 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/1.575, allocations: 56 kB / 1.456 GB, free: 6.539 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04827/1.624, allocations: 32.7 MB / 1.488 GB, free: 4.984 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/1.624, allocations: 11.94 kB / 1.488 GB, free: 4.973 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/1.638, allocations: 6.9 MB / 1.494 GB, free: 13.86 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/1.641, allocations: 0.7995 MB / 1.495 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008707/1.641, allocations: 59.92 kB / 1.495 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/1.644, allocations: 167.8 kB / 1.495 GB, free: 12.82 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009975/1.645, allocations: 253.4 kB / 1.496 GB, free: 12.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002096/1.645, allocations: 79.98 kB / 1.496 GB, free: 12.49 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002503/1.647, allocations: 1.521 MB / 1.497 GB, free: 10.97 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/1.647, allocations: 0.75 kB / 1.497 GB, free: 10.97 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004732/1.652, allocations: 1.371 MB / 1.499 GB, free: 9.598 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.0004578/1.653, allocations: 175 kB / 1.499 GB, free: 9.418 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01314/1.666, allocations: 6.942 MB / 1.505 GB, free: 2.387 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.916e-05/1.666, allocations: 4 kB / 1.506 GB, free: 2.383 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.008957/1.675, allocations: 4.433 MB / 1.51 GB, free: 13.87 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00556/1.68, allocations: 1.107 MB / 1.511 GB, free: 12.79 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/1.701, allocations: 10.26 MB / 1.521 GB, free: 2.445 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004937/1.706, allocations: 3.639 MB / 1.524 GB, free: 14.77 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00219/1.708, allocations: 0.5517 MB / 1.525 GB, free: 14.22 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/1.709, allocations: 163.4 kB / 1.525 GB, free: 14.06 MB / 1.264 GB Notification: Performance of SimCode: time 1.132e-06/1.709, allocations: 4 kB / 1.525 GB, free: 14.05 MB / 1.264 GB Notification: Performance of Templates: time 0.8458/2.554, allocations: 76.33 MB / 1.6 GB, free: 332.2 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 -s cvode -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