Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.OnePhase.Loads.Examples.TestImpedance,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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007636/0.007644, allocations: 102.2 kB / 15.73 MB, free: 6.477 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.001905/0.001906, allocations: 194.4 kB / 16.67 MB, free: 6.379 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.943/2.943, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.89 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3114, allocations: 157.4 MB / 1.208 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006365/0.3178, allocations: 4.849 MB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00421/0.322, allocations: 2.455 MB / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005335/0.3226, allocations: 23.81 kB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.324, allocations: 412.1 kB / 1.215 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.3253, allocations: 445.6 kB / 1.216 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009792/0.3263, allocations: 373.8 kB / 1.216 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.3278, allocations: 0.9173 MB / 1.217 GB, free: 204 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008874/0.3287, allocations: 354.6 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009117/0.3297, allocations: 338.6 kB / 1.218 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009264/0.3306, allocations: 358.4 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.3308, allocations: 36 kB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.3318, allocations: 395.1 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002802/0.3321, allocations: 183.4 kB / 1.219 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.3325, allocations: 322.2 kB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.3337, allocations: 0.8837 MB / 1.22 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3337, allocations: 0 / 1.22 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3338, allocations: 0 / 1.22 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.387e-05/0.3338, allocations: 0 / 1.22 GB, free: 13.36 MB / 0.9825 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.001714/0.3355, allocations: 0.9424 MB / 1.221 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3356, allocations: 12.62 kB / 1.221 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.3369, allocations: 195.9 kB / 1.221 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000835/0.3377, allocations: 0.5372 MB / 1.221 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.3377, allocations: 29.38 kB / 1.221 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.3378, allocations: 44.36 kB / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.3389, allocations: 0.8448 MB / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.339, allocations: 11.94 kB / 1.222 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.339, allocations: 27.97 kB / 1.222 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.73e-05/0.3391, allocations: 64.97 kB / 1.222 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008692/0.34, allocations: 0.5655 MB / 1.223 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/0.3443, allocations: 5.639 MB / 1.228 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.3449, allocations: 454.8 kB / 1.229 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.3453, allocations: 229.2 kB / 1.229 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.3453, allocations: 7.984 kB / 1.229 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3453, allocations: 42.5 kB / 1.229 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 1.944e-06/0.3453, allocations: 4 kB / 1.229 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002443/0.3478, allocations: 1.505 MB / 1.231 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.3478, allocations: 51.69 kB / 1.231 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/0.3483, allocations: 499 kB / 1.231 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3484, allocations: 33.64 kB / 1.231 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.3486, allocations: 358.8 kB / 1.231 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.799e-05/0.3487, allocations: 114.3 kB / 1.232 GB, free: 416 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.3488, allocations: 118.2 kB / 1.232 GB, free: 292 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.349, allocations: 370.7 kB / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.3493, allocations: 189.2 kB / 1.232 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.3497, allocations: 451.3 kB / 1.233 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007714/0.3505, allocations: 0.6915 MB / 1.233 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3505, allocations: 4 kB / 1.233 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001229/0.3517, allocations: 0.8018 MB / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.3518, allocations: 8 kB / 1.234 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.3518, allocations: 8.094 kB / 1.234 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004954/0.3523, allocations: 164.1 kB / 1.234 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.3527, allocations: 123.7 kB / 1.234 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/0.3561, allocations: 4.34 MB / 1.239 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.3565, allocations: 35.97 kB / 1.239 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.3565, allocations: 24 kB / 1.239 GB, free: 8.402 MB / 0.9981 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.0002618/0.3568, allocations: 213.5 kB / 1.239 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.3569, allocations: 63.25 kB / 1.239 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009569/0.3579, allocations: 0.601 MB / 1.24 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3579, allocations: 4 kB / 1.24 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3579, allocations: 4 kB / 1.24 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3579, allocations: 7.984 kB / 1.24 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.3597, allocations: 1.257 MB / 1.241 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3597, allocations: 0 / 1.241 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.3599, allocations: 59.89 kB / 1.241 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000391/0.3603, allocations: 140.4 kB / 1.241 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.3604, allocations: 19.81 kB / 1.241 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003178/0.3636, allocations: 4.336 MB / 1.245 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3636, allocations: 160 / 1.245 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009701/0.3646, allocations: 0.7153 MB / 1.246 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.3648, allocations: 160.4 kB / 1.246 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.3649, allocations: 8 kB / 1.246 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.3651, allocations: 23.97 kB / 1.246 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.3652, allocations: 43.81 kB / 1.246 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.3652, allocations: 12 kB / 1.246 GB, free: 116 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6639/1.029, allocations: 329.1 kB / 1.247 GB, free: 37.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.029, allocations: 0 / 1.247 GB, free: 37.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009433/1.03, allocations: 141.8 kB / 1.247 GB, free: 37.91 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0001385/1.03, allocations: 111.2 kB / 1.247 GB, free: 37.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001271/1.032, allocations: 1.034 MB / 1.248 GB, free: 37.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.032, allocations: 3.469 kB / 1.248 GB, free: 37.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006484/1.032, allocations: 0.7312 MB / 1.248 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/1.033, allocations: 197.2 kB / 1.249 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/1.035, allocations: 1.024 MB / 1.25 GB, free: 36.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/1.035, allocations: 0.9063 MB / 1.251 GB, free: 35.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002654/1.035, allocations: 119.9 kB / 1.251 GB, free: 35.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/1.035, allocations: 38.75 kB / 1.251 GB, free: 35.59 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/1.035, allocations: 0 / 1.251 GB, free: 35.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.01584/1.051, allocations: 7.683 MB / 1.258 GB, free: 35.24 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches