Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0015/0.0015, allocations: 106 kB / 15.99 MB, free: 6.355 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.001465/0.001465, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.572/2.572, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 68.3 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3235, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006395/0.33, allocations: 4.871 MB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003685/0.3337, allocations: 2.448 MB / 1.071 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.334, allocations: 23.81 kB / 1.071 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.3351, allocations: 366.4 kB / 1.072 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008628/0.336, allocations: 410 kB / 1.072 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007534/0.3367, allocations: 350.4 kB / 1.072 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009274/0.3377, allocations: 0.9095 MB / 1.073 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005766/0.3383, allocations: 394.5 kB / 1.074 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.3387, allocations: 342.6 kB / 1.074 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004035/0.3391, allocations: 358.4 kB / 1.074 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.811e-05/0.3391, allocations: 40 kB / 1.074 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005789/0.3397, allocations: 399.1 kB / 1.075 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.3399, allocations: 183.5 kB / 1.075 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.3402, allocations: 318.2 kB / 1.075 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007521/0.341, allocations: 0.6744 MB / 1.076 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.341, allocations: 8 kB / 1.076 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.553e-06/0.341, allocations: 0 / 1.076 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.341, allocations: 0 / 1.076 GB, free: 3.062 MB / 0.8419 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.001386/0.3424, allocations: 0.9385 MB / 1.077 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3424, allocations: 12.03 kB / 1.077 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.3436, allocations: 199.9 kB / 1.077 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.3443, allocations: 486.4 kB / 1.077 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.3443, allocations: 33.36 kB / 1.077 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.3444, allocations: 52.28 kB / 1.078 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.3455, allocations: 0.8448 MB / 1.078 GB, free: 300 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.3455, allocations: 11.84 kB / 1.078 GB, free: 288 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.3456, allocations: 20 kB / 1.078 GB, free: 268 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.29e-05/0.3457, allocations: 68.95 kB / 1.078 GB, free: 200 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4867/0.8324, allocations: 0.5602 MB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.8365, allocations: 5.65 MB / 1.085 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.8371, allocations: 456.7 kB / 1.085 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.8374, allocations: 226.3 kB / 1.085 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.8375, allocations: 4.688 kB / 1.085 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.8375, allocations: 41.06 kB / 1.085 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 2.485e-06/0.8375, allocations: 0 / 1.085 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.002623/0.8401, allocations: 1.504 MB / 1.087 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.8402, allocations: 59.75 kB / 1.087 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005339/0.8407, allocations: 0.4889 MB / 1.087 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.8408, allocations: 29.2 kB / 1.087 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.8409, allocations: 359.1 kB / 1.088 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/0.841, allocations: 118.8 kB / 1.088 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.8412, allocations: 113.3 kB / 1.088 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.8413, allocations: 364.8 kB / 1.088 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.8416, allocations: 195.5 kB / 1.088 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.842, allocations: 446 kB / 1.089 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/0.8427, allocations: 0.6942 MB / 1.089 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.8428, allocations: 2.344 kB / 1.089 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00127/0.844, allocations: 0.8066 MB / 1.09 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.8441, allocations: 9.438 kB / 1.09 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.8441, allocations: 8.438 kB / 1.09 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004836/0.8446, allocations: 154.7 kB / 1.09 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/0.845, allocations: 127.6 kB / 1.091 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.8475, allocations: 4.348 MB / 1.095 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.8479, allocations: 35.81 kB / 1.095 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.848, allocations: 27.19 kB / 1.095 GB, free: 3.598 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.000231/0.8482, allocations: 228.7 kB / 1.095 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.8483, allocations: 61.19 kB / 1.095 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.8493, allocations: 0.5922 MB / 1.096 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.8494, allocations: 8.531 kB / 1.096 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.8494, allocations: 4.75 kB / 1.096 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.8494, allocations: 1.781 kB / 1.096 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.8512, allocations: 1.261 MB / 1.097 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.8512, allocations: 2.688 kB / 1.097 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.8515, allocations: 53.48 kB / 1.097 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000383/0.8519, allocations: 145.6 kB / 1.097 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.8519, allocations: 8.156 kB / 1.097 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003049/0.855, allocations: 4.335 MB / 1.101 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.855, allocations: 3.078 kB / 1.101 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.8563, allocations: 0.7113 MB / 1.102 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.8565, allocations: 170.9 kB / 1.102 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.027e-05/0.8566, allocations: 7.938 kB / 1.102 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.8568, allocations: 22.22 kB / 1.102 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/0.8569, allocations: 31.02 kB / 1.102 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.857, allocations: 11.94 kB / 1.102 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004667/0.8574, allocations: 338.1 kB / 1.103 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8574, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007009/0.8582, allocations: 142.4 kB / 1.103 GB, free: 13.38 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.0001649/0.8583, allocations: 107.7 kB / 1.103 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.86, allocations: 1.09 MB / 1.104 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.86, allocations: 2.078 kB / 1.104 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009397/0.8609, allocations: 0.7259 MB / 1.105 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009715/0.8619, allocations: 208.6 kB / 1.105 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.8639, allocations: 1.3 MB / 1.106 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.8645, allocations: 0.9056 MB / 1.107 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.8647, allocations: 43.81 kB / 1.107 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.8647, allocations: 3.938 kB / 1.107 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of Templates: time 0.02709/0.8918, allocations: 17.98 MB / 1.125 GB, free: 7.758 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches