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.009676/0.009676, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.001773/0.001773, allocations: 194.1 kB / 16.68 MB, free: 5.969 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.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.563/2.563, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.075, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006741/1.082, allocations: 4.861 MB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004278/1.087, allocations: 2.463 MB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003883/1.087, allocations: 23.81 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/1.088, allocations: 399.3 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/1.089, allocations: 469.6 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009036/1.09, allocations: 370.1 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000937/1.091, allocations: 0.9173 MB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005383/1.092, allocations: 350.5 kB / 1.176 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000421/1.092, allocations: 346.6 kB / 1.177 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/1.093, allocations: 346.5 kB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/1.093, allocations: 40 kB / 1.177 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006887/1.093, allocations: 403.1 kB / 1.177 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001765/1.094, allocations: 183.4 kB / 1.177 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000303/1.094, allocations: 322.2 kB / 1.178 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009871/1.095, allocations: 0.8914 MB / 1.179 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.095, allocations: 0 / 1.179 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.773e-06/1.095, allocations: 3.938 kB / 1.179 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.38e-05/1.095, allocations: 0 / 1.179 GB, free: 7.488 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.001429/1.096, allocations: 0.9572 MB / 1.18 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.096, allocations: 8.922 kB / 1.18 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/1.098, allocations: 204.2 kB / 1.18 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008575/1.098, allocations: 0.5416 MB / 1.18 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/1.099, allocations: 41.36 kB / 1.18 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/1.099, allocations: 40.38 kB / 1.18 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/1.1, allocations: 0.8487 MB / 1.181 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/1.1, allocations: 7.938 kB / 1.181 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/1.1, allocations: 23.98 kB / 1.181 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/1.1, allocations: 64.95 kB / 1.181 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008265/1.101, allocations: 0.5656 MB / 1.182 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/1.105, allocations: 5.651 MB / 1.187 GB, free: 13.93 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/1.106, allocations: 458.2 kB / 1.188 GB, free: 13.47 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/1.106, allocations: 224.7 kB / 1.188 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/1.106, allocations: 4 kB / 1.188 GB, free: 13.25 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/1.106, allocations: 46.44 kB / 1.188 GB, free: 13.19 MB / 0.92 GB Notification: Performance of pre-optimization done (n=32): time 1.964e-06/1.106, allocations: 0 / 1.188 GB, free: 13.19 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.00262/1.109, allocations: 1.508 MB / 1.19 GB, free: 11.57 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/1.109, allocations: 55.69 kB / 1.19 GB, free: 11.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004965/1.11, allocations: 0.4911 MB / 1.19 GB, free: 11 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/1.11, allocations: 33.7 kB / 1.19 GB, free: 10.96 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/1.11, allocations: 363.8 kB / 1.19 GB, free: 10.61 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/1.11, allocations: 130.9 kB / 1.191 GB, free: 10.48 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/1.11, allocations: 110.2 kB / 1.191 GB, free: 10.36 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.11, allocations: 362.8 kB / 1.191 GB, free: 10 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/1.111, allocations: 201.2 kB / 1.191 GB, free: 9.801 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/1.111, allocations: 440.9 kB / 1.192 GB, free: 9.258 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007606/1.112, allocations: 0.696 MB / 1.192 GB, free: 8.445 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/1.112, allocations: 4 kB / 1.192 GB, free: 8.441 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001193/1.113, allocations: 0.8061 MB / 1.193 GB, free: 7.613 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.113, allocations: 12 kB / 1.193 GB, free: 7.602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.113, allocations: 8 kB / 1.193 GB, free: 7.594 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/1.114, allocations: 152.1 kB / 1.193 GB, free: 7.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/1.114, allocations: 131.7 kB / 1.193 GB, free: 7.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/1.118, allocations: 4.344 MB / 1.198 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/1.118, allocations: 31.97 kB / 1.198 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/1.118, allocations: 31.98 kB / 1.198 GB, free: 2.477 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.0003263/1.118, allocations: 223.8 kB / 1.198 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.286e-05/1.119, allocations: 63.58 kB / 1.198 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/1.12, allocations: 0.5971 MB / 1.199 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.12, allocations: 7.938 kB / 1.199 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.12, allocations: 0 / 1.199 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/1.12, allocations: 7.969 kB / 1.199 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/1.122, allocations: 1.257 MB / 1.2 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/1.122, allocations: 4 kB / 1.2 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/1.122, allocations: 60.11 kB / 1.2 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004081/1.122, allocations: 144.1 kB / 1.2 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/1.122, allocations: 15.88 kB / 1.2 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003332/1.126, allocations: 4.325 MB / 1.204 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.126, allocations: 4.031 kB / 1.204 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/1.127, allocations: 0.7118 MB / 1.205 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/1.127, allocations: 168.7 kB / 1.205 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/1.127, allocations: 15.98 kB / 1.205 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/1.127, allocations: 19.98 kB / 1.205 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/1.127, allocations: 43.83 kB / 1.205 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/1.127, allocations: 8 kB / 1.205 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004108/1.128, allocations: 334.8 kB / 1.205 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.128, allocations: 0 / 1.205 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006948/1.128, allocations: 136 kB / 1.206 GB, free: 9.723 MB / 0.9356 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.0001809/1.129, allocations: 115.2 kB / 1.206 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001503/1.13, allocations: 1.041 MB / 1.207 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.13, allocations: 0 / 1.207 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008358/1.131, allocations: 0.7349 MB / 1.207 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/1.132, allocations: 209 kB / 1.208 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/1.134, allocations: 1.041 MB / 1.209 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/1.134, allocations: 0.9059 MB / 1.21 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003223/1.135, allocations: 113.3 kB / 1.21 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/1.135, allocations: 43.44 kB / 1.21 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of SimCode: time 7.51e-07/1.135, allocations: 0 / 1.21 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of Templates: time 0.01497/1.15, allocations: 7.69 MB / 1.217 GB, free: 13.68 MB / 0.9512 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