Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001418/0.001418, allocations: 77.23 kB / 19.76 MB, free: 2.031 MB / 14.72 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.00145/0.00145, allocations: 158.3 kB / 23.01 MB, free: 4.941 MB / 14.72 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 1.46/1.46, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.709/2.709, allocations: 359.1 MB / 0.6044 GB, free: 14.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 59.91 kB / 0.9515 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3341, allocations: 169.9 MB / 1.117 GB, free: 2.613 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005377/0.3395, allocations: 3.259 MB / 1.121 GB, free: 15.34 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003576/0.343, allocations: 1.964 MB / 1.123 GB, free: 13.36 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.3431, allocations: 7.938 kB / 1.123 GB, free: 13.36 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009923/0.3441, allocations: 306.1 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005172/0.3447, allocations: 234.9 kB / 1.123 GB, free: 12.83 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.3453, allocations: 291.3 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.3458, allocations: 410.7 kB / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.3462, allocations: 168.3 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.3465, allocations: 175.4 kB / 1.124 GB, free: 11.8 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003971/0.3469, allocations: 211.2 kB / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.983e-05/0.3469, allocations: 24 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004205/0.3473, allocations: 235.6 kB / 1.125 GB, free: 11.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.3475, allocations: 127.6 kB / 1.125 GB, free: 11.22 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.3477, allocations: 123.5 kB / 1.125 GB, free: 11.1 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006554/0.3483, allocations: 498.2 kB / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3483, allocations: 4 kB / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3483, allocations: 0 / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3483, allocations: 0 / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001115/0.3494, allocations: 0.5322 MB / 1.126 GB, free: 10.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.3495, allocations: 8.031 kB / 1.126 GB, free: 10.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.3505, allocations: 124.6 kB / 1.126 GB, free: 9.914 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.3509, allocations: 218.7 kB / 1.126 GB, free: 9.672 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.3509, allocations: 20.86 kB / 1.126 GB, free: 9.652 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.351, allocations: 32.73 kB / 1.126 GB, free: 9.621 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008273/0.3519, allocations: 0.5258 MB / 1.127 GB, free: 9.035 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3519, allocations: 3.953 kB / 1.127 GB, free: 9.031 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.3519, allocations: 11.98 kB / 1.127 GB, free: 9.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001552/0.3521, allocations: 36.47 kB / 1.127 GB, free: 8.984 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006913/0.3528, allocations: 365.7 kB / 1.127 GB, free: 8.629 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/0.3554, allocations: 1.586 MB / 1.129 GB, free: 6.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.3558, allocations: 248.6 kB / 1.129 GB, free: 6.73 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.3561, allocations: 144.8 kB / 1.129 GB, free: 6.586 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3561, allocations: 4 kB / 1.129 GB, free: 6.582 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3561, allocations: 38.56 kB / 1.129 GB, free: 6.535 MB / 1.076 GB Notification: Performance of pre-optimization done (n=22): time 3.347e-06/0.3561, allocations: 4 kB / 1.129 GB, free: 6.531 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.001851/0.358, allocations: 0.9014 MB / 1.13 GB, free: 5.598 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.358, allocations: 55.41 kB / 1.13 GB, free: 5.531 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.3584, allocations: 252.2 kB / 1.13 GB, free: 5.277 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.3584, allocations: 29.7 kB / 1.13 GB, free: 5.242 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.3585, allocations: 196.3 kB / 1.13 GB, free: 5.043 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.3586, allocations: 83.28 kB / 1.13 GB, free: 4.961 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.3588, allocations: 77.64 kB / 1.131 GB, free: 4.879 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3589, allocations: 334.8 kB / 1.131 GB, free: 4.543 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.3592, allocations: 151.9 kB / 1.131 GB, free: 4.395 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.3596, allocations: 249.9 kB / 1.131 GB, free: 4.113 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.3603, allocations: 406.8 kB / 1.132 GB, free: 3.684 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3603, allocations: 0 / 1.132 GB, free: 3.684 MB / 1.076 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001304/0.3616, allocations: 0.6049 MB / 1.132 GB, free: 3.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3616, allocations: 7.938 kB / 1.132 GB, free: 3.062 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3616, allocations: 8.312 kB / 1.132 GB, free: 3.055 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007169/0.3623, allocations: 184.7 kB / 1.132 GB, free: 2.871 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.3627, allocations: 67.89 kB / 1.132 GB, free: 2.805 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.366, allocations: 2.354 MB / 1.135 GB, free: 360 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.3664, allocations: 19.98 kB / 1.135 GB, free: 340 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.3664, allocations: 19.98 kB / 1.135 GB, free: 320 kB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001922/0.3666, allocations: 161.7 kB / 1.135 GB, free: 148 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.3667, allocations: 27.8 kB / 1.135 GB, free: 120 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5895/0.9562, allocations: 348.9 kB / 1.135 GB, free: 58.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.9562, allocations: 7.406 kB / 1.135 GB, free: 58.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.9562, allocations: 0 / 1.135 GB, free: 58.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.9562, allocations: 3.328 kB / 1.135 GB, free: 58.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000986/0.9572, allocations: 0.7051 MB / 1.136 GB, free: 58.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.9572, allocations: 0.7812 kB / 1.136 GB, free: 58.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.9576, allocations: 80.5 kB / 1.136 GB, free: 58.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.9576, allocations: 1.156 kB / 1.136 GB, free: 58.08 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.9577, allocations: 6.594 kB / 1.136 GB, free: 58.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.9577, allocations: 2.875 kB / 1.136 GB, free: 58.08 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9577, allocations: 1.531 kB / 1.136 GB, free: 58.08 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.9583, allocations: 0.6117 MB / 1.137 GB, free: 57.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.9584, allocations: 54.16 kB / 1.137 GB, free: 57.93 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.9584, allocations: 9.297 kB / 1.137 GB, free: 57.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.9587, allocations: 16.16 kB / 1.137 GB, free: 57.93 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.9587, allocations: 16.27 kB / 1.137 GB, free: 57.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.9587, allocations: 7.594 kB / 1.137 GB, free: 57.93 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001704/0.9589, allocations: 178.2 kB / 1.137 GB, free: 57.85 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9589, allocations: 0 / 1.137 GB, free: 57.85 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004494/0.9594, allocations: 88.72 kB / 1.137 GB, free: 57.85 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001185/0.9595, allocations: 108.8 kB / 1.137 GB, free: 57.76 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008048/0.9603, allocations: 0.5088 MB / 1.138 GB, free: 57.65 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9603, allocations: 1.125 kB / 1.138 GB, free: 57.65 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.9604, allocations: 141.8 kB / 1.138 GB, free: 57.65 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.9609, allocations: 54.59 kB / 1.138 GB, free: 57.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.9621, allocations: 0.8363 MB / 1.139 GB, free: 57.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.9622, allocations: 191.1 kB / 1.139 GB, free: 57.22 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.9624, allocations: 72.47 kB / 1.139 GB, free: 57.21 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.658e-05/0.9625, allocations: 22.94 kB / 1.139 GB, free: 57.2 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.9625, allocations: 4 kB / 1.139 GB, free: 57.2 MB / 1.076 GB Notification: Performance of Templates: time 0.007192/0.9697, allocations: 4.183 MB / 1.143 GB, free: 56.88 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.8329310111003]