Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8791/0.8791, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.908/1.908, allocations: 377.8 MB / 0.6236 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.45e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004706/0.004741, allocations: 3.807 MB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.007226, allocations: 1.38 MB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003277/0.007553, allocations: 36.53 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006011/0.008155, allocations: 166.7 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006232/0.008778, allocations: 358.1 kB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.009342, allocations: 318.9 kB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0009714/0.01031, allocations: 0.9447 MB / 0.8184 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.01082, allocations: 318.4 kB / 0.8187 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000631/0.01145, allocations: 0.4921 MB / 0.8191 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004735/0.01192, allocations: 323.7 kB / 0.8195 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.01198, allocations: 40.75 kB / 0.8195 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.01222, allocations: 103.8 kB / 0.8196 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.01238, allocations: 192.9 kB / 0.8198 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.01255, allocations: 207.5 kB / 0.82 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005969/0.01314, allocations: 0.5097 MB / 0.8205 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.01315, allocations: 0 / 0.8205 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.374e-06/0.01315, allocations: 1.875 kB / 0.8205 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.01317, allocations: 0 / 0.8205 GB, free: 8.609 MB / 0.7761 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.000984/0.01415, allocations: 0.9473 MB / 0.8214 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.01419, allocations: 8.031 kB / 0.8214 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006389/0.01483, allocations: 248 kB / 0.8216 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.01537, allocations: 0.4929 MB / 0.8221 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.0154, allocations: 34.23 kB / 0.8222 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.01545, allocations: 48.33 kB / 0.8222 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.01614, allocations: 0.8547 MB / 0.823 GB, free: 5.73 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.01616, allocations: 8.125 kB / 0.823 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.0162, allocations: 24.36 kB / 0.8231 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.768e-05/0.01627, allocations: 68.89 kB / 0.8231 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.01664, allocations: 307.7 kB / 0.8234 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.01976, allocations: 6.292 MB / 0.8296 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.02014, allocations: 276.2 kB / 0.8298 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.02027, allocations: 87.64 kB / 0.8299 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.02029, allocations: 4.5 kB / 0.8299 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.02032, allocations: 42.23 kB / 0.83 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=32): time 2.665e-06/0.02032, allocations: 0 / 0.83 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.001317/0.02164, allocations: 0.6965 MB / 0.8306 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.02167, allocations: 56.34 kB / 0.8307 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.02201, allocations: 0.4906 MB / 0.8312 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.02203, allocations: 33.14 kB / 0.8312 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.02223, allocations: 419 kB / 0.8316 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.02231, allocations: 127 kB / 0.8317 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.02242, allocations: 111.9 kB / 0.8318 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.02257, allocations: 0.5352 MB / 0.8324 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.02269, allocations: 89.25 kB / 0.8324 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.02297, allocations: 450.8 kB / 0.8329 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.02347, allocations: 0.5919 MB / 0.8335 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.02348, allocations: 4 kB / 0.8335 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007185/0.0242, allocations: 0.609 MB / 0.8341 GB, free: 9.77 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.02422, allocations: 8 kB / 0.8341 GB, free: 9.762 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.02424, allocations: 8.094 kB / 0.8341 GB, free: 9.754 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003267/0.02456, allocations: 134.3 kB / 0.8342 GB, free: 9.602 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.02483, allocations: 123.8 kB / 0.8343 GB, free: 9.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.02732, allocations: 5.256 MB / 0.8394 GB, free: 3.855 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.02754, allocations: 35.97 kB / 0.8395 GB, free: 3.82 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.02757, allocations: 31.94 kB / 0.8395 GB, free: 3.789 MB / 0.7917 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.0001718/0.02774, allocations: 200.4 kB / 0.8397 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.0278, allocations: 71.66 kB / 0.8398 GB, free: 3.512 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.02828, allocations: 365 kB / 0.8401 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.02828, allocations: 4 kB / 0.8401 GB, free: 3.125 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.02829, allocations: 7.938 kB / 0.8401 GB, free: 3.117 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.02829, allocations: 3.984 kB / 0.8401 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009121/0.0292, allocations: 0.8855 MB / 0.841 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.02921, allocations: 4.219 kB / 0.841 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.02935, allocations: 63.89 kB / 0.8411 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002401/0.02959, allocations: 110.3 kB / 0.8412 GB, free: 1.941 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.02961, allocations: 8 kB / 0.8412 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/0.03178, allocations: 5.248 MB / 0.8463 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.03178, allocations: 4 kB / 0.8463 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.03236, allocations: 0.558 MB / 0.8468 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.03246, allocations: 79.64 kB / 0.8469 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.03249, allocations: 8 kB / 0.8469 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.03261, allocations: 23.97 kB / 0.847 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.03268, allocations: 43.94 kB / 0.847 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.0327, allocations: 12 kB / 0.847 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001852/0.03288, allocations: 306.8 kB / 0.8473 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.03288, allocations: 0 / 0.8473 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004289/0.03331, allocations: 140 kB / 0.8474 GB, free: 11.09 MB / 0.8073 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.0001272/0.03344, allocations: 115.2 kB / 0.8475 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007996/0.03424, allocations: 0.8598 MB / 0.8484 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.03424, allocations: 0 / 0.8484 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.03464, allocations: 0.6566 MB / 0.849 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.0352, allocations: 194.5 kB / 0.8492 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.0365, allocations: 0.9683 MB / 0.8502 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.0366, allocations: 154 kB / 0.8503 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.03681, allocations: 92.98 kB / 0.8504 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.03688, allocations: 36.5 kB / 0.8504 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of SimCode: time 1.393e-06/0.03688, allocations: 3.938 kB / 0.8504 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of Templates: time 0.01108/0.04797, allocations: 8.268 MB / 0.8585 GB, free: 15.75 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.169057067018002]