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.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.0008468/0.0008468, allocations: 87.58 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.0008744/0.0008744, allocations: 161 kB / 23.82 MB, free: 0.75 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.9128/0.9128, allocations: 177.2 MB / 204.2 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.731/1.731, allocations: 359 MB / 0.6052 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.976e-05, allocations: 4.703 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005195/0.005224, allocations: 3.817 MB / 0.7908 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002607/0.007832, allocations: 1.366 MB / 0.7922 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.008165, allocations: 35.62 kB / 0.7922 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006665/0.008832, allocations: 171.3 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006952/0.009527, allocations: 358.2 kB / 0.7927 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005882/0.01012, allocations: 319.6 kB / 0.793 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.01113, allocations: 0.9447 MB / 0.7939 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005023/0.01163, allocations: 314.4 kB / 0.7942 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006601/0.01229, allocations: 0.4908 MB / 0.7947 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005184/0.01281, allocations: 328.3 kB / 0.795 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.796e-05/0.01288, allocations: 36 kB / 0.7951 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.01312, allocations: 104.4 kB / 0.7952 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.01331, allocations: 195.3 kB / 0.7953 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.01353, allocations: 216.7 kB / 0.7955 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006562/0.01418, allocations: 0.502 MB / 0.796 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01419, allocations: 0 / 0.796 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.01419, allocations: 0.5312 kB / 0.796 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.0142, allocations: 0 / 0.796 GB, free: 3.289 MB / 0.7448 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.00123/0.01543, allocations: 0.9427 MB / 0.797 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.01547, allocations: 12.03 kB / 0.797 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000873/0.01635, allocations: 248 kB / 0.7972 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/0.01705, allocations: 499 kB / 0.7977 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.01709, allocations: 37.36 kB / 0.7977 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.639e-05/0.01716, allocations: 57.92 kB / 0.7978 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.01818, allocations: 0.8495 MB / 0.7986 GB, free: 412 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.01821, allocations: 8.125 kB / 0.7986 GB, free: 404 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.01826, allocations: 32.23 kB / 0.7986 GB, free: 372 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.456e-05/0.01835, allocations: 66.66 kB / 0.7987 GB, free: 304 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005319/0.01888, allocations: 303.9 kB / 0.799 GB, free: 4 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003817/0.0227, allocations: 6.291 MB / 0.8051 GB, free: 9.48 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.02303, allocations: 270.9 kB / 0.8054 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.02314, allocations: 88.59 kB / 0.8055 GB, free: 9.113 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.02316, allocations: 4 kB / 0.8055 GB, free: 9.109 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.02319, allocations: 42.52 kB / 0.8055 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.02319, allocations: 0 / 0.8055 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001169/0.02436, allocations: 0.7012 MB / 0.8062 GB, free: 8.332 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.02439, allocations: 56.94 kB / 0.8063 GB, free: 8.266 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.02471, allocations: 0.4906 MB / 0.8067 GB, free: 7.758 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.02473, allocations: 29.7 kB / 0.8068 GB, free: 7.723 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.0249, allocations: 408 kB / 0.8072 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.02498, allocations: 134.9 kB / 0.8073 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.633e-05/0.02507, allocations: 111.9 kB / 0.8074 GB, free: 7.066 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.02521, allocations: 0.5365 MB / 0.8079 GB, free: 6.52 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.02532, allocations: 97.14 kB / 0.808 GB, free: 6.426 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.02558, allocations: 450.8 kB / 0.8084 GB, free: 5.824 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000797/0.02638, allocations: 0.5841 MB / 0.809 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.02638, allocations: 0 / 0.809 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006561/0.02704, allocations: 0.6052 MB / 0.8096 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.02706, allocations: 13.75 kB / 0.8096 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.02707, allocations: 11.98 kB / 0.8096 GB, free: 4.426 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003073/0.02738, allocations: 134.3 kB / 0.8098 GB, free: 4.273 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.02763, allocations: 123.8 kB / 0.8099 GB, free: 4.152 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.02982, allocations: 5.251 MB / 0.815 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.03001, allocations: 35.97 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.03004, allocations: 28 kB / 0.8151 GB, free: 14.47 MB / 0.7761 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.000135/0.03017, allocations: 204.4 kB / 0.8153 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.03023, allocations: 71.62 kB / 0.8153 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007179/0.03095, allocations: 369 kB / 0.8157 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.03095, allocations: 4 kB / 0.8157 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.03096, allocations: 7.938 kB / 0.8157 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.03096, allocations: 0 / 0.8157 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000815/0.03177, allocations: 0.8923 MB / 0.8166 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.03178, allocations: 4 kB / 0.8166 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.03191, allocations: 59.89 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002069/0.03212, allocations: 110.3 kB / 0.8167 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.03214, allocations: 8 kB / 0.8167 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.03409, allocations: 5.24 MB / 0.8219 GB, free: 7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.0341, allocations: 4 kB / 0.8219 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007476/0.03484, allocations: 0.5585 MB / 0.8224 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.03495, allocations: 87.58 kB / 0.8225 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.035, allocations: 8 kB / 0.8225 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.0352, allocations: 24.12 kB / 0.8225 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.03527, allocations: 39.81 kB / 0.8226 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.03528, allocations: 12 kB / 0.8226 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000179/0.03546, allocations: 310.8 kB / 0.8229 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.03546, allocations: 3.938 kB / 0.8229 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003769/0.03584, allocations: 144 kB / 0.823 GB, free: 5.754 MB / 0.7761 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.0001142/0.03595, allocations: 107.2 kB / 0.8231 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007256/0.03668, allocations: 0.8432 MB / 0.8239 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.03668, allocations: 0 / 0.8239 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.03707, allocations: 0.6649 MB / 0.8246 GB, free: 4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.03761, allocations: 195 kB / 0.8248 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.03887, allocations: 0.9683 MB / 0.8257 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.03898, allocations: 158 kB / 0.8259 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00019/0.03917, allocations: 92.98 kB / 0.826 GB, free: 2.512 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.03923, allocations: 36.5 kB / 0.826 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of SimCode: time 9.01e-07/0.03923, allocations: 0 / 0.826 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of Templates: time 0.01082/0.05005, allocations: 8.265 MB / 0.8341 GB, free: 10.43 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] 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","",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.1298733041621745]