Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.0013/0.0013, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 190.3 kB / 16.66 MB, free: 6.582 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.565/1.565, allocations: 222.9 MB / 240.3 MB, free: 4.316 MB / 190.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.785/2.785, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 67.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3658, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006336/0.3723, allocations: 4.847 MB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004228/0.3765, allocations: 2.459 MB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004801/0.377, allocations: 27.75 kB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.3784, allocations: 398 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.3796, allocations: 449.6 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009456/0.3806, allocations: 370.7 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.3817, allocations: 0.9134 MB / 1.176 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005625/0.3823, allocations: 346.5 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.3827, allocations: 350.6 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004412/0.3831, allocations: 342.5 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.515e-05/0.3832, allocations: 40 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007782/0.384, allocations: 403.1 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.3842, allocations: 179.4 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.3845, allocations: 322.2 kB / 1.178 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.3855, allocations: 0.887 MB / 1.179 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3856, allocations: 3.938 kB / 1.179 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3856, allocations: 0 / 1.179 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.3856, allocations: 4 kB / 1.179 GB, free: 10.48 MB / 0.9356 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.001472/0.3871, allocations: 0.9532 MB / 1.18 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3871, allocations: 8.031 kB / 1.18 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.3884, allocations: 212.2 kB / 1.18 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008369/0.3892, allocations: 0.53 MB / 1.18 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.3892, allocations: 37.36 kB / 1.18 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.683e-05/0.3893, allocations: 48.36 kB / 1.18 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.3906, allocations: 0.8563 MB / 1.181 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.3906, allocations: 7.938 kB / 1.181 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.3907, allocations: 20 kB / 1.181 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-05/0.3908, allocations: 60.95 kB / 1.181 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008685/0.3917, allocations: 0.5734 MB / 1.182 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004875/0.3965, allocations: 5.643 MB / 1.187 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.3972, allocations: 458.7 kB / 1.188 GB, free: 480 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.3976, allocations: 236.7 kB / 1.188 GB, free: 240 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.3976, allocations: 7.938 kB / 1.188 GB, free: 232 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.3977, allocations: 34.56 kB / 1.188 GB, free: 188 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.3977, allocations: 0 / 1.188 GB, free: 188 kB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002746/0.4004, allocations: 1.506 MB / 1.189 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.4005, allocations: 63.69 kB / 1.19 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/0.401, allocations: 495 kB / 1.19 GB, free: 14 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.401, allocations: 37.69 kB / 1.19 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.4013, allocations: 367.7 kB / 1.19 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.4014, allocations: 126.9 kB / 1.191 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.4016, allocations: 110.2 kB / 1.191 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4017, allocations: 358.8 kB / 1.191 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.402, allocations: 201.2 kB / 1.191 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.4025, allocations: 443.3 kB / 1.192 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007966/0.4033, allocations: 0.6915 MB / 1.192 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4033, allocations: 4 kB / 1.192 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001237/0.4045, allocations: 0.8133 MB / 1.193 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.4046, allocations: 11.94 kB / 1.193 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.4046, allocations: 12 kB / 1.193 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004961/0.4051, allocations: 156.7 kB / 1.193 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/0.4055, allocations: 127.7 kB / 1.193 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/0.409, allocations: 4.34 MB / 1.198 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.4094, allocations: 35.97 kB / 1.198 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.4094, allocations: 28 kB / 1.198 GB, free: 5.457 MB / 0.9512 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.0002765/0.4097, allocations: 214.5 kB / 1.198 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/0.4098, allocations: 67.58 kB / 1.198 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.4109, allocations: 0.601 MB / 1.199 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4109, allocations: 4 kB / 1.199 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4109, allocations: 4 kB / 1.199 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4109, allocations: 3.984 kB / 1.199 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.4127, allocations: 1.254 MB / 1.2 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.4127, allocations: 4 kB / 1.2 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.413, allocations: 55.89 kB / 1.2 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004062/0.4134, allocations: 144.3 kB / 1.2 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.4134, allocations: 11.94 kB / 1.2 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/0.4168, allocations: 4.333 MB / 1.204 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4168, allocations: 11.94 kB / 1.204 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.4179, allocations: 0.7128 MB / 1.205 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.4181, allocations: 168.7 kB / 1.205 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.4182, allocations: 11.98 kB / 1.205 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.4185, allocations: 19.97 kB / 1.205 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/0.4185, allocations: 35.84 kB / 1.205 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.4186, allocations: 12 kB / 1.205 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003701/0.4189, allocations: 334.8 kB / 1.205 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.419, allocations: 0 / 1.205 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006617/0.4196, allocations: 148 kB / 1.206 GB, free: 12.7 MB / 0.9669 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.000184/0.4198, allocations: 109 kB / 1.206 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.4213, allocations: 1.045 MB / 1.207 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.4214, allocations: 8.125 kB / 1.207 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000895/0.4223, allocations: 0.7303 MB / 1.207 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.4234, allocations: 207.8 kB / 1.208 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.4251, allocations: 1.042 MB / 1.209 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.4256, allocations: 0.9019 MB / 1.21 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.426, allocations: 121.3 kB / 1.21 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.624e-05/0.4261, allocations: 39.44 kB / 1.21 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of SimCode: time 1.202e-06/0.4261, allocations: 0 / 1.21 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of Templates: time 0.01423/0.4403, allocations: 7.685 MB / 1.217 GB, free: 0.6641 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches