Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001421/0.001421, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001074/0.001074, allocations: 177 kB / 23.36 MB, free: 1.129 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.9781/0.9781, allocations: 177.2 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.464/2.464, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.65e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003577/0.003594, allocations: 3.789 MB / 0.8423 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.00602, allocations: 1.399 MB / 0.8437 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.006374, allocations: 39.62 kB / 0.8437 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007729/0.007147, allocations: 166.7 kB / 0.8439 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.007716, allocations: 361.7 kB / 0.8442 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.008172, allocations: 315.3 kB / 0.8445 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0008187/0.008991, allocations: 0.9525 MB / 0.8455 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.009381, allocations: 338.4 kB / 0.8458 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005315/0.009913, allocations: 498.6 kB / 0.8463 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.01029, allocations: 315.1 kB / 0.8466 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.01033, allocations: 36 kB / 0.8466 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.01054, allocations: 111.7 kB / 0.8467 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.01066, allocations: 191.4 kB / 0.8469 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.01081, allocations: 215.4 kB / 0.8471 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.01124, allocations: 0.4981 MB / 0.8476 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.01124, allocations: 0 / 0.8476 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.31e-07/0.01124, allocations: 0 / 0.8476 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.01125, allocations: 0 / 0.8476 GB, free: 4.945 MB / 0.8073 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.0007405/0.01199, allocations: 0.8062 MB / 0.8484 GB, free: 4.113 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.01202, allocations: 16.61 kB / 0.8484 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005868/0.01261, allocations: 192.4 kB / 0.8486 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.0131, allocations: 471.1 kB / 0.849 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.01312, allocations: 33.38 kB / 0.849 GB, free: 3.391 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.01317, allocations: 52.3 kB / 0.8491 GB, free: 3.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.01367, allocations: 0.7233 MB / 0.8498 GB, free: 2.453 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.01369, allocations: 8.125 kB / 0.8498 GB, free: 2.445 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.01372, allocations: 28.36 kB / 0.8498 GB, free: 2.418 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.536e-05/0.01378, allocations: 72.89 kB / 0.8499 GB, free: 2.344 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.01402, allocations: 226.3 kB / 0.8501 GB, free: 2.125 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.01626, allocations: 4.166 MB / 0.8542 GB, free: 13.79 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.01652, allocations: 297.6 kB / 0.8545 GB, free: 13.48 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.0166, allocations: 60.83 kB / 0.8545 GB, free: 13.42 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.01662, allocations: 4 kB / 0.8545 GB, free: 13.42 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.01664, allocations: 38.56 kB / 0.8546 GB, free: 13.37 MB / 0.823 GB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.01664, allocations: 0 / 0.8546 GB, free: 13.37 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.0008804/0.01752, allocations: 0.4922 MB / 0.855 GB, free: 12.85 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.01754, allocations: 55.69 kB / 0.8551 GB, free: 12.79 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.01778, allocations: 446.9 kB / 0.8555 GB, free: 12.34 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.0178, allocations: 37.7 kB / 0.8556 GB, free: 12.29 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.01793, allocations: 325.2 kB / 0.8559 GB, free: 11.97 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.01799, allocations: 122.9 kB / 0.856 GB, free: 11.85 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.01809, allocations: 110.2 kB / 0.8561 GB, free: 11.73 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.01818, allocations: 366.6 kB / 0.8564 GB, free: 11.37 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.631e-05/0.01825, allocations: 57.28 kB / 0.8565 GB, free: 11.31 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.01844, allocations: 319.1 kB / 0.8568 GB, free: 10.88 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.01875, allocations: 447 kB / 0.8572 GB, free: 10.33 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01875, allocations: 4 kB / 0.8572 GB, free: 10.32 MB / 0.823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006504/0.0194, allocations: 487.8 kB / 0.8577 GB, free: 9.82 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.01942, allocations: 11.94 kB / 0.8577 GB, free: 9.809 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.01943, allocations: 11.98 kB / 0.8577 GB, free: 9.797 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/0.01968, allocations: 122.6 kB / 0.8578 GB, free: 9.656 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.01992, allocations: 119.8 kB / 0.858 GB, free: 9.539 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.02167, allocations: 3.591 MB / 0.8615 GB, free: 5.664 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.02182, allocations: 20 kB / 0.8615 GB, free: 5.645 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.02185, allocations: 24.19 kB / 0.8615 GB, free: 5.621 MB / 0.823 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.0001231/0.02197, allocations: 164.3 kB / 0.8617 GB, free: 5.449 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.02202, allocations: 47.89 kB / 0.8617 GB, free: 5.402 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.02239, allocations: 313.2 kB / 0.862 GB, free: 5.066 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.02239, allocations: 4 kB / 0.862 GB, free: 5.062 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.02239, allocations: 4 kB / 0.862 GB, free: 5.059 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.0224, allocations: 7.922 kB / 0.862 GB, free: 5.051 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006802/0.02308, allocations: 0.6771 MB / 0.8627 GB, free: 4.305 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.02308, allocations: 0 / 0.8627 GB, free: 4.305 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.0232, allocations: 47.91 kB / 0.8627 GB, free: 4.258 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.02341, allocations: 126.5 kB / 0.8628 GB, free: 4.113 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.02343, allocations: 4 kB / 0.8629 GB, free: 4.109 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.0251, allocations: 3.594 MB / 0.8664 GB, free: 232 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.0251, allocations: 8.188 kB / 0.8664 GB, free: 224 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.02549, allocations: 462 kB / 0.8668 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.02558, allocations: 71.62 kB / 0.8669 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.02561, allocations: 8 kB / 0.8669 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.02571, allocations: 8 kB / 0.8669 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.02577, allocations: 43.8 kB / 0.8669 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.02578, allocations: 8 kB / 0.8669 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001201/0.0259, allocations: 184.4 kB / 0.8671 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.0259, allocations: 0 / 0.8671 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003677/0.02627, allocations: 140 kB / 0.8673 GB, free: 15.25 MB / 0.8386 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.0001024/0.02637, allocations: 96.3 kB / 0.8673 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005424/0.02691, allocations: 0.6227 MB / 0.868 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.02693, allocations: 8.5 kB / 0.868 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.02725, allocations: 479.6 kB / 0.8684 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.02774, allocations: 197.5 kB / 0.8686 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.02884, allocations: 0.9529 MB / 0.8695 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.801e-05/0.02894, allocations: 158 kB / 0.8697 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000169/0.02911, allocations: 69.03 kB / 0.8698 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.02935, allocations: 181.2 kB / 0.8699 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of SimCode: time 8.52e-07/0.02936, allocations: 0 / 0.8699 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of Templates: time 0.01054/0.0399, allocations: 8.361 MB / 0.8781 GB, free: 4.164 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.397554104216397]