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.001586/0.001586, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002044/0.002044, allocations: 197.2 kB / 16.14 MB, free: 6.719 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 461.8 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 66.77 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3157, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006175/0.3219, allocations: 4.883 MB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003804/0.3257, allocations: 2.471 MB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.3261, allocations: 23.81 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.3272, allocations: 362.4 kB / 1.06 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0009226/0.3281, allocations: 414 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008434/0.329, allocations: 350.6 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.3301, allocations: 1.12 MB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005894/0.3307, allocations: 355.3 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003807/0.3311, allocations: 306.5 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.3315, allocations: 346.5 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.3316, allocations: 24 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007837/0.3324, allocations: 0.4912 MB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.3326, allocations: 163.5 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.3328, allocations: 306.2 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008783/0.3337, allocations: 0.8955 MB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3338, allocations: 4 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3338, allocations: 0 / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.3338, allocations: 0 / 1.064 GB, free: 12.32 MB / 0.8262 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.001397/0.3352, allocations: 0.9309 MB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3352, allocations: 8.031 kB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.3365, allocations: 207.7 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.3371, allocations: 486.4 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.3372, allocations: 33.36 kB / 1.066 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.382e-05/0.3373, allocations: 52.34 kB / 1.066 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.3383, allocations: 0.8448 MB / 1.067 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.3384, allocations: 7.844 kB / 1.067 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.3384, allocations: 20 kB / 1.067 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-05/0.3385, allocations: 72.95 kB / 1.067 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000821/0.3393, allocations: 0.5656 MB / 1.067 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/0.3437, allocations: 5.647 MB / 1.073 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.3443, allocations: 454.3 kB / 1.073 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.3447, allocations: 228.7 kB / 1.074 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.3447, allocations: 4.469 kB / 1.074 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3447, allocations: 38.55 kB / 1.074 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 4.028e-06/0.3448, allocations: 4 kB / 1.074 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002553/0.3473, allocations: 1.504 MB / 1.075 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.3474, allocations: 55.69 kB / 1.075 GB, free: 436 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000507/0.3479, allocations: 0.4911 MB / 1.076 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3479, allocations: 29.7 kB / 1.076 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.3481, allocations: 358.7 kB / 1.076 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.3483, allocations: 126.4 kB / 1.076 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.3484, allocations: 106.2 kB / 1.076 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3486, allocations: 366.8 kB / 1.077 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.3489, allocations: 197.2 kB / 1.077 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.3493, allocations: 447.3 kB / 1.077 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007909/0.3501, allocations: 0.6837 MB / 1.078 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.3501, allocations: 7.938 kB / 1.078 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001276/0.3514, allocations: 0.8096 MB / 1.079 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3514, allocations: 8 kB / 1.079 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.3515, allocations: 15.98 kB / 1.079 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005078/0.352, allocations: 152.2 kB / 1.079 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.3525, allocations: 127.7 kB / 1.079 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/0.3556, allocations: 4.036 MB / 1.083 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.3559, allocations: 31.97 kB / 1.083 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.356, allocations: 28 kB / 1.083 GB, free: 7.738 MB / 0.8419 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.000265/0.3563, allocations: 215.2 kB / 1.083 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/0.3563, allocations: 63.23 kB / 1.083 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.3574, allocations: 0.593 MB / 1.084 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.3574, allocations: 4 kB / 1.084 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3574, allocations: 0 / 1.084 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3574, allocations: 7.938 kB / 1.084 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.3591, allocations: 1.266 MB / 1.085 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.3592, allocations: 11.98 kB / 1.085 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.3594, allocations: 55.88 kB / 1.085 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/0.3598, allocations: 140.1 kB / 1.085 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.3599, allocations: 8 kB / 1.085 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002967/0.3628, allocations: 4.028 MB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3629, allocations: 0 / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009529/0.3638, allocations: 0.7119 MB / 1.09 GB, free: 52 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.364, allocations: 164.4 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.3641, allocations: 11.94 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.3644, allocations: 23.97 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.3644, allocations: 35.89 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.3645, allocations: 12 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003465/0.3648, allocations: 326.9 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3648, allocations: 4 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006124/0.3655, allocations: 144 kB / 1.091 GB, free: 15.33 MB / 0.8575 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.0001472/0.3656, allocations: 111.1 kB / 1.091 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.367, allocations: 1.037 MB / 1.092 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.367, allocations: 0 / 1.092 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008184/0.3678, allocations: 0.7341 MB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009429/0.3688, allocations: 191 kB / 1.093 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.3703, allocations: 1.252 MB / 1.094 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.3708, allocations: 0.9058 MB / 1.095 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003287/0.3711, allocations: 121.3 kB / 1.095 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.988e-05/0.3712, allocations: 39.44 kB / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3712, allocations: 0 / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.01355/0.3848, allocations: 7.337 MB / 1.102 GB, free: 3.445 MB / 0.8575 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