Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 119.4 kB / 16.42 MB, free: 6.473 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.001588/0.001588, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.17 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.493/2.493, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001471, allocations: 59.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102/1.103, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007242/1.111, allocations: 4.891 MB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004409/1.115, allocations: 2.494 MB / 1.175 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005038/1.116, allocations: 23.81 kB / 1.175 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/1.117, allocations: 403.4 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001144/1.118, allocations: 473.6 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/1.119, allocations: 401.6 kB / 1.176 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00097/1.12, allocations: 0.929 MB / 1.177 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005495/1.121, allocations: 354.5 kB / 1.177 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004451/1.121, allocations: 338.7 kB / 1.177 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004534/1.122, allocations: 358.4 kB / 1.178 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.544e-05/1.122, allocations: 40 kB / 1.178 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007741/1.122, allocations: 395.1 kB / 1.178 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/1.123, allocations: 191.4 kB / 1.178 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000294/1.123, allocations: 318.2 kB / 1.179 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009863/1.124, allocations: 0.8893 MB / 1.179 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.124, allocations: 0 / 1.179 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.092e-06/1.124, allocations: 0 / 1.179 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.157e-06/1.124, allocations: 0 / 1.179 GB, free: 7.387 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001424/1.125, allocations: 0.9502 MB / 1.18 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/1.125, allocations: 12.88 kB / 1.18 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/1.127, allocations: 203.8 kB / 1.181 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007921/1.128, allocations: 0.5567 MB / 1.181 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/1.128, allocations: 29.38 kB / 1.181 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/1.128, allocations: 48.36 kB / 1.181 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/1.129, allocations: 0.8524 MB / 1.182 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/1.129, allocations: 7.938 kB / 1.182 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/1.129, allocations: 23.98 kB / 1.182 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.745e-05/1.129, allocations: 68.89 kB / 1.182 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000774/1.13, allocations: 0.5695 MB / 1.183 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004646/1.134, allocations: 5.643 MB / 1.188 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006769/1.135, allocations: 466.1 kB / 1.189 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/1.135, allocations: 228.7 kB / 1.189 GB, free: 13.12 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/1.135, allocations: 4 kB / 1.189 GB, free: 13.12 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/1.135, allocations: 34.56 kB / 1.189 GB, free: 13.07 MB / 0.92 GB Notification: Performance of pre-optimization done (n=32): time 2.725e-06/1.135, allocations: 0 / 1.189 GB, free: 13.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.002742/1.138, allocations: 1.503 MB / 1.19 GB, free: 11.46 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/1.138, allocations: 55.69 kB / 1.19 GB, free: 11.39 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/1.139, allocations: 0.5029 MB / 1.191 GB, free: 10.88 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/1.139, allocations: 29.7 kB / 1.191 GB, free: 10.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/1.139, allocations: 362.8 kB / 1.191 GB, free: 10.48 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.139, allocations: 118.3 kB / 1.191 GB, free: 10.37 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.139, allocations: 106.2 kB / 1.191 GB, free: 10.26 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001974/1.14, allocations: 366.7 kB / 1.192 GB, free: 9.891 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/1.14, allocations: 201.2 kB / 1.192 GB, free: 9.691 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/1.141, allocations: 452.8 kB / 1.192 GB, free: 9.137 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/1.141, allocations: 0.6921 MB / 1.193 GB, free: 8.328 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/1.141, allocations: 4 kB / 1.193 GB, free: 8.324 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00143/1.143, allocations: 0.8092 MB / 1.194 GB, free: 7.492 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/1.143, allocations: 8 kB / 1.194 GB, free: 7.484 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.143, allocations: 8 kB / 1.194 GB, free: 7.477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/1.143, allocations: 148.7 kB / 1.194 GB, free: 7.316 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/1.144, allocations: 127.7 kB / 1.194 GB, free: 7.191 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/1.148, allocations: 4.344 MB / 1.198 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/1.148, allocations: 31.97 kB / 1.198 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/1.148, allocations: 28 kB / 1.199 GB, free: 2.371 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004219/1.149, allocations: 217.6 kB / 1.199 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/1.149, allocations: 63.25 kB / 1.199 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/1.15, allocations: 0.605 MB / 1.199 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/1.15, allocations: 0 / 1.199 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.15, allocations: 4 kB / 1.199 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/1.15, allocations: 164.3 kB / 1.2 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/1.15, allocations: 4 kB / 1.2 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/1.15, allocations: 19.97 kB / 1.2 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/1.15, allocations: 35.83 kB / 1.2 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001388/1.152, allocations: 0.6684 MB / 1.2 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001028/1.153, allocations: 0.8262 MB / 1.201 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002455/1.153, allocations: 183.8 kB / 1.201 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000355/1.154, allocations: 334.8 kB / 1.202 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of Backend: time 6.22e-07/1.154, allocations: 4 kB / 1.202 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002159/1.156, allocations: 1.171 MB / 1.203 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002455/1.158, allocations: 1.584 MB / 1.204 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of Templates: time 0.01775/1.176, allocations: 9.952 MB / 1.214 GB, free: 2.422 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches