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.001557/0.001556, allocations: 106 kB / 16.41 MB, free: 6.512 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.001682/0.001682, allocations: 183 kB / 17.34 MB, free: 5.738 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.07 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.512/2.512, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 72.11 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8685/0.87, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00655/0.8766, allocations: 4.858 MB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004301/0.881, allocations: 2.459 MB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005494/0.8815, allocations: 23.81 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.883, allocations: 399.7 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.8843, allocations: 469.6 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009929/0.8853, allocations: 368.8 kB / 1.176 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.8867, allocations: 0.9213 MB / 1.177 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000672/0.8874, allocations: 350.5 kB / 1.177 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007679/0.8882, allocations: 342.6 kB / 1.177 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.8889, allocations: 350.5 kB / 1.178 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.889, allocations: 40 kB / 1.178 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009059/0.8899, allocations: 399.1 kB / 1.178 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.8902, allocations: 187.4 kB / 1.178 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004559/0.8907, allocations: 318.2 kB / 1.178 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.892, allocations: 0.8953 MB / 1.179 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.892, allocations: 0 / 1.179 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.572e-06/0.892, allocations: 0 / 1.179 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.892, 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.001482/0.8935, allocations: 0.9533 MB / 1.18 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.8936, allocations: 8.922 kB / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.8949, allocations: 208.2 kB / 1.18 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008073/0.8957, allocations: 0.5416 MB / 1.181 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/0.8957, allocations: 37.36 kB / 1.181 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.21e-05/0.8958, allocations: 44.31 kB / 1.181 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.8969, allocations: 0.8525 MB / 1.182 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.8969, allocations: 7.938 kB / 1.182 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/0.897, allocations: 27.97 kB / 1.182 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.965e-05/0.8971, allocations: 60.97 kB / 1.182 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008156/0.8979, allocations: 0.5733 MB / 1.183 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004846/0.9028, allocations: 5.643 MB / 1.188 GB, free: 13.92 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006595/0.9034, allocations: 462.2 kB / 1.188 GB, free: 13.46 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.9038, allocations: 224.7 kB / 1.189 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.9038, allocations: 0 / 1.189 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.9038, allocations: 42.5 kB / 1.189 GB, free: 13.19 MB / 0.92 GB Notification: Performance of pre-optimization done (n=32): time 1.162e-06/0.9039, allocations: 0 / 1.189 GB, free: 13.19 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.002656/0.9065, allocations: 1.504 MB / 1.19 GB, free: 11.57 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.9066, allocations: 59.62 kB / 1.19 GB, free: 11.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005283/0.9071, allocations: 0.495 MB / 1.191 GB, free: 11 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.9072, allocations: 29.7 kB / 1.191 GB, free: 10.96 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.9074, allocations: 367.8 kB / 1.191 GB, free: 10.6 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.584e-05/0.9075, allocations: 126.9 kB / 1.191 GB, free: 10.47 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.9077, allocations: 110.2 kB / 1.191 GB, free: 10.36 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.9079, allocations: 366.8 kB / 1.192 GB, free: 9.992 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.9081, allocations: 193.2 kB / 1.192 GB, free: 9.801 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.9086, allocations: 448.8 kB / 1.192 GB, free: 9.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008411/0.9094, allocations: 0.696 MB / 1.193 GB, free: 8.438 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.9095, allocations: 4 kB / 1.193 GB, free: 8.434 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001256/0.9107, allocations: 0.8056 MB / 1.194 GB, free: 7.605 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.9108, allocations: 12 kB / 1.194 GB, free: 7.594 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.9108, allocations: 8 kB / 1.194 GB, free: 7.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004827/0.9113, allocations: 156.6 kB / 1.194 GB, free: 7.418 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.9117, allocations: 127.7 kB / 1.194 GB, free: 7.293 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.9148, allocations: 4.344 MB / 1.198 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.9151, allocations: 35.95 kB / 1.198 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.9152, allocations: 28 kB / 1.198 GB, free: 2.469 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.000241/0.9154, allocations: 226.1 kB / 1.199 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.612e-05/0.9155, allocations: 63.58 kB / 1.199 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009787/0.9165, allocations: 0.5971 MB / 1.199 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9165, allocations: 8 kB / 1.199 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.9165, allocations: 0 / 1.199 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.9165, allocations: 3.984 kB / 1.199 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.9182, allocations: 1.254 MB / 1.2 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.9182, allocations: 4 kB / 1.2 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.9185, allocations: 59.89 kB / 1.201 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003962/0.9189, allocations: 148.4 kB / 1.201 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.9189, allocations: 11.94 kB / 1.201 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002982/0.9219, allocations: 4.325 MB / 1.205 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9219, allocations: 4.031 kB / 1.205 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009491/0.9229, allocations: 0.7118 MB / 1.206 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.9231, allocations: 164.7 kB / 1.206 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.9231, allocations: 16 kB / 1.206 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.9234, allocations: 23.97 kB / 1.206 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.9235, allocations: 47.77 kB / 1.206 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.9235, allocations: 8 kB / 1.206 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003312/0.9238, allocations: 334.8 kB / 1.206 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9238, allocations: 0 / 1.206 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006072/0.9245, allocations: 136 kB / 1.206 GB, free: 9.711 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.000135/0.9246, allocations: 115.2 kB / 1.206 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.9259, allocations: 1.041 MB / 1.207 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9259, allocations: 0 / 1.207 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007715/0.9267, allocations: 0.7344 MB / 1.208 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009624/0.9277, allocations: 206.7 kB / 1.208 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.9292, allocations: 1.087 MB / 1.209 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.9296, allocations: 0.9019 MB / 1.21 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.9297, allocations: 47.42 kB / 1.21 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.9297, allocations: 0 / 1.21 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of Templates: time 0.02057/0.9503, allocations: 18.04 MB / 1.228 GB, free: 3.316 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/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