Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001536/0.001535, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002029/0.00203, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.51/1.51, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.562/2.562, allocations: 390.2 MB / 0.6646 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001508, allocations: 55.91 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8065/0.808, allocations: 140.4 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005275/0.8133, allocations: 4.856 MB / 0.9543 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003333/0.8167, allocations: 2.445 MB / 0.9567 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003881/0.8171, allocations: 24.12 kB / 0.9567 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.8182, allocations: 415.3 kB / 0.9571 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009304/0.8192, allocations: 440.4 kB / 0.9576 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00078/0.82, allocations: 369.1 kB / 0.9579 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00073/0.8207, allocations: 0.9169 MB / 0.9588 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.8212, allocations: 348.9 kB / 0.9591 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.8216, allocations: 339.3 kB / 0.9595 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004905/0.8221, allocations: 350.3 kB / 0.9598 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-05/0.8222, allocations: 41.62 kB / 0.9598 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009384/0.8232, allocations: 399.8 kB / 0.9602 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.8234, allocations: 184 kB / 0.9604 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.8237, allocations: 318.6 kB / 0.9607 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009532/0.8247, allocations: 0.8725 MB / 0.9615 GB, free: 296 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8247, allocations: 1.094 kB / 0.9615 GB, free: 296 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8247, allocations: 0 / 0.9615 GB, free: 296 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.8247, allocations: 4 kB / 0.9615 GB, free: 292 kB / 0.7169 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.001489/0.8262, allocations: 0.9301 MB / 0.9625 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.8263, allocations: 10.19 kB / 0.9625 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.8277, allocations: 207.4 kB / 0.9627 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007542/0.8284, allocations: 498 kB / 0.9631 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.8285, allocations: 34.84 kB / 0.9632 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-05/0.8286, allocations: 46.11 kB / 0.9632 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.8298, allocations: 0.8469 MB / 0.964 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.8299, allocations: 8.25 kB / 0.964 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.8299, allocations: 23.98 kB / 0.9641 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.8301, allocations: 66.61 kB / 0.9641 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008718/0.8309, allocations: 0.567 MB / 0.9647 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.8361, allocations: 5.652 MB / 0.9702 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/0.8368, allocations: 462.3 kB / 0.9706 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.8372, allocations: 223.9 kB / 0.9709 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.8373, allocations: 4.219 kB / 0.9709 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.8373, allocations: 39.94 kB / 0.9709 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.585e-06/0.8373, allocations: 0 / 0.9709 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.003112/0.8404, allocations: 1.509 MB / 0.9724 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.8405, allocations: 55.19 kB / 0.9724 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006731/0.8412, allocations: 0.4916 MB / 0.9729 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.8412, allocations: 31.48 kB / 0.9729 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.8415, allocations: 355.6 kB / 0.9733 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.8416, allocations: 113.7 kB / 0.9734 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.8419, allocations: 111.3 kB / 0.9735 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.8421, allocations: 363.5 kB / 0.9738 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.8424, allocations: 202.8 kB / 0.974 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.8428, allocations: 440 kB / 0.9745 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008176/0.8437, allocations: 0.6974 MB / 0.9751 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.8437, allocations: 3.281 kB / 0.9751 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00125/0.8449, allocations: 0.807 MB / 0.9759 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.845, allocations: 9.031 kB / 0.9759 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.845, allocations: 8.188 kB / 0.9759 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/0.8455, allocations: 154.4 kB / 0.9761 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.846, allocations: 125.6 kB / 0.9762 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/0.85, allocations: 4.343 MB / 0.9805 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006522/0.8506, allocations: 33.5 kB / 0.9805 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.8507, allocations: 27.69 kB / 0.9805 GB, free: 15.63 MB / 0.7481 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.000503/0.8512, allocations: 217.3 kB / 0.9807 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.8514, allocations: 65.08 kB / 0.9808 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.8528, allocations: 0.5941 MB / 0.9814 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.8528, allocations: 4.031 kB / 0.9814 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8528, allocations: 1.344 kB / 0.9814 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.8528, allocations: 1.25 kB / 0.9814 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.855, allocations: 1.261 MB / 0.9826 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.8551, allocations: 6.234 kB / 0.9826 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.8554, allocations: 55.08 kB / 0.9827 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004169/0.8558, allocations: 144.7 kB / 0.9828 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.8558, allocations: 14.75 kB / 0.9828 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003869/0.8597, allocations: 4.332 MB / 0.987 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.8597, allocations: 0 / 0.987 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.8609, allocations: 0.7159 MB / 0.9877 GB, free: 8.625 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.8612, allocations: 160.4 kB / 0.9879 GB, free: 8.449 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.8613, allocations: 12 kB / 0.9879 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.8616, allocations: 27.91 kB / 0.9879 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.8616, allocations: 35.84 kB / 0.988 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.8617, allocations: 12 kB / 0.988 GB, free: 8.363 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003723/0.8621, allocations: 334.8 kB / 0.9883 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8621, allocations: 0 / 0.9883 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007237/0.8628, allocations: 140 kB / 0.9884 GB, free: 7.902 MB / 0.7481 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.0001543/0.863, allocations: 119.2 kB / 0.9885 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.8645, allocations: 1.072 MB / 0.9896 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8645, allocations: 0 / 0.9896 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000837/0.8653, allocations: 0.7386 MB / 0.9903 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.8663, allocations: 204.1 kB / 0.9905 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.8679, allocations: 1.043 MB / 0.9915 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.8684, allocations: 0.9058 MB / 0.9924 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003397/0.8688, allocations: 121.3 kB / 0.9925 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-05/0.8689, allocations: 39.44 kB / 0.9926 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of SimCode: time 3.2e-07/0.8689, allocations: 0 / 0.9926 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of Templates: time 0.01413/0.883, allocations: 7.599 MB / 1 GB, free: 11.91 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches