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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001515/0.001515, allocations: 106.7 kB / 16.37 MB, free: 6.457 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.001751/0.001751, allocations: 191.8 kB / 17.31 MB, free: 5.812 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.67 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3574, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00728/0.3647, allocations: 4.854 MB / 1.024 GB, free: 4.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004774/0.3696, allocations: 2.459 MB / 1.026 GB, free: 2.512 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005986/0.3702, allocations: 23.81 kB / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.3717, allocations: 397.2 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.3732, allocations: 449.6 kB / 1.027 GB, free: 1.66 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.3742, allocations: 379.2 kB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001254/0.3755, allocations: 0.9095 MB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005361/0.376, allocations: 358.5 kB / 1.028 GB, free: 20 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004327/0.3765, allocations: 334.7 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004248/0.3769, allocations: 346.4 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.377, allocations: 40 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007071/0.3777, allocations: 403.1 kB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.3778, allocations: 175.5 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.3781, allocations: 322.2 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000928/0.3791, allocations: 0.8837 MB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3791, allocations: 3.938 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3791, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.3791, allocations: 3.938 kB / 1.031 GB, free: 13.54 MB / 0.8106 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.001388/0.3805, allocations: 0.9348 MB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3806, allocations: 8.922 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.3818, allocations: 203.8 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008287/0.3826, allocations: 0.5373 MB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.3827, allocations: 33.36 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-05/0.3828, allocations: 44.38 kB / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.3838, allocations: 0.8448 MB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.3838, allocations: 11.84 kB / 1.033 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.3839, allocations: 23.98 kB / 1.033 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.589e-05/0.384, allocations: 64.95 kB / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007656/0.3847, allocations: 0.5656 MB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00417/0.3889, allocations: 5.647 MB / 1.039 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.3896, allocations: 457 kB / 1.04 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.3899, allocations: 224.7 kB / 1.04 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.3899, allocations: 4.531 kB / 1.04 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.39, allocations: 42.5 kB / 1.04 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=32): time 1.713e-06/0.39, allocations: 0 / 1.04 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.002478/0.3924, allocations: 1.501 MB / 1.042 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.3925, allocations: 59.62 kB / 1.042 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/0.393, allocations: 0.4911 MB / 1.042 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3931, allocations: 29.7 kB / 1.042 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.3933, allocations: 354.8 kB / 1.043 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.363e-05/0.3934, allocations: 118.4 kB / 1.043 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.3935, allocations: 114.2 kB / 1.043 GB, free: 476 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3937, allocations: 366.8 kB / 1.043 GB, free: 100 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.394, allocations: 197.3 kB / 1.043 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.3945, allocations: 451.3 kB / 1.044 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.3953, allocations: 0.6882 MB / 1.044 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3953, allocations: 0 / 1.044 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001196/0.3965, allocations: 0.8094 MB / 1.045 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3965, allocations: 8.188 kB / 1.045 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3965, allocations: 12 kB / 1.045 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004856/0.397, allocations: 148.1 kB / 1.045 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.3975, allocations: 127.7 kB / 1.045 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/0.4008, allocations: 4.356 MB / 1.05 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.4012, allocations: 31.97 kB / 1.05 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.4013, allocations: 28 kB / 1.05 GB, free: 8.57 MB / 0.8262 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.0002983/0.4016, allocations: 215.8 kB / 1.05 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.4017, allocations: 71.33 kB / 1.05 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.4027, allocations: 0.5932 MB / 1.051 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4027, allocations: 4 kB / 1.051 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4027, allocations: 3.938 kB / 1.051 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4027, allocations: 3.984 kB / 1.051 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.4046, allocations: 1.266 MB / 1.052 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.4046, allocations: 4 kB / 1.052 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.4049, allocations: 51.89 kB / 1.052 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003869/0.4053, allocations: 148.3 kB / 1.052 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.4053, allocations: 7.938 kB / 1.052 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/0.4085, allocations: 4.333 MB / 1.056 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4085, allocations: 0 / 1.056 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.4096, allocations: 0.7115 MB / 1.057 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.4098, allocations: 168.3 kB / 1.057 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.4099, allocations: 8 kB / 1.057 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.4101, allocations: 19.97 kB / 1.057 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.4102, allocations: 39.84 kB / 1.057 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.4102, allocations: 8 kB / 1.057 GB, free: 312 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004188/0.4107, allocations: 334.8 kB / 1.058 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4107, allocations: 0 / 1.058 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006941/0.4114, allocations: 144 kB / 1.058 GB, free: 15.84 MB / 0.8419 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.0001605/0.4115, allocations: 119.1 kB / 1.058 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.4129, allocations: 1.029 MB / 1.059 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4129, allocations: 4 kB / 1.059 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000853/0.4137, allocations: 0.7307 MB / 1.06 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009337/0.4147, allocations: 203.1 kB / 1.06 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.4162, allocations: 1.031 MB / 1.061 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.4166, allocations: 0.9058 MB / 1.062 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000265/0.4169, allocations: 121.3 kB / 1.062 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.821e-05/0.417, allocations: 35.44 kB / 1.062 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.417, allocations: 4 kB / 1.062 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of Templates: time 0.01449/0.4315, allocations: 7.584 MB / 1.069 GB, free: 3.922 MB / 0.8419 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 -s gbode -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/jenkins1/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