Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009358/0.0009358, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001032/0.001032, allocations: 165 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.935/0.935, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.848/1.848, allocations: 377.8 MB / 0.6236 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] 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.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_12_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.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.686e-05, allocations: 7.234 kB / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00306/0.003087, allocations: 2.686 MB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.005356, allocations: 1.475 MB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.005501, allocations: 7.938 kB / 0.8156 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.005949, allocations: 99.38 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003957/0.006345, allocations: 205.6 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.006866, allocations: 257.2 kB / 0.8161 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.007276, allocations: 422.6 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002994/0.007575, allocations: 173.6 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.007863, allocations: 223.5 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.008158, allocations: 188.9 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.008192, allocations: 24 kB / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.008446, allocations: 175.6 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.008555, allocations: 128.2 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.889e-05/0.008644, allocations: 107.7 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.009046, allocations: 351.4 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.00905, allocations: 1.969 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.292e-06/0.009052, allocations: 0 / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.009058, allocations: 0 / 0.8178 GB, free: 11.23 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.000722/0.00978, allocations: 0.6172 MB / 0.8184 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.009815, allocations: 12.75 kB / 0.8185 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006028/0.01042, allocations: 165.7 kB / 0.8186 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.0107, allocations: 223.7 kB / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.01072, allocations: 24.86 kB / 0.8189 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.763e-05/0.01081, allocations: 32.73 kB / 0.8189 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.01124, allocations: 418.8 kB / 0.8193 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.01126, allocations: 8.078 kB / 0.8193 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.01128, allocations: 20.73 kB / 0.8193 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.559e-05/0.01137, allocations: 36.47 kB / 0.8193 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.01161, allocations: 155.7 kB / 0.8195 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.01305, allocations: 1.838 MB / 0.8213 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.01327, allocations: 151 kB / 0.8214 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.516e-05/0.01336, allocations: 63.66 kB / 0.8215 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.01338, allocations: 7.984 kB / 0.8215 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.0134, allocations: 40.83 kB / 0.8215 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.0134, allocations: 0 / 0.8215 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.001202/0.01461, allocations: 0.5488 MB / 0.8221 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.01463, allocations: 63.28 kB / 0.8221 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.01483, allocations: 295.6 kB / 0.8224 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.01485, allocations: 25.7 kB / 0.8224 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.01495, allocations: 247.6 kB / 0.8227 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.015, allocations: 87.83 kB / 0.8228 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.01509, allocations: 83.3 kB / 0.8228 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01521, allocations: 0.5006 MB / 0.8233 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.01531, allocations: 61.44 kB / 0.8234 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.01546, allocations: 178.2 kB / 0.8236 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.01572, allocations: 266.2 kB / 0.8238 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01572, allocations: 5.25 kB / 0.8238 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005817/0.01631, allocations: 390.4 kB / 0.8242 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.01632, allocations: 10.66 kB / 0.8242 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.01633, allocations: 4 kB / 0.8242 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.01693, allocations: 188.5 kB / 0.8244 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.01711, allocations: 63.89 kB / 0.8244 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.01866, allocations: 2.193 MB / 0.8266 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.01883, allocations: 32 kB / 0.8266 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.01886, allocations: 12 kB / 0.8266 GB, free: 1.719 MB / 0.7761 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.0001108/0.01897, allocations: 172.5 kB / 0.8268 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.01902, allocations: 31.86 kB / 0.8268 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.01928, allocations: 199.4 kB / 0.827 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.01928, allocations: 4 kB / 0.827 GB, free: 1.301 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01929, allocations: 7.922 kB / 0.827 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01929, allocations: 0 / 0.827 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.01985, allocations: 0.5804 MB / 0.8276 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.01985, allocations: 4 kB / 0.8276 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.02006, allocations: 67.94 kB / 0.8277 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.02006, allocations: 4 kB / 0.8277 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.02008, allocations: 7.938 kB / 0.8277 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.02008, allocations: 4 kB / 0.8277 GB, free: 0.5781 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02009, allocations: 0 / 0.8277 GB, free: 0.5781 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.02043, allocations: 422.2 kB / 0.8281 GB, free: 144 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.395e-05/0.02051, allocations: 59.69 kB / 0.8281 GB, free: 84 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.02053, allocations: 8.062 kB / 0.8281 GB, free: 76 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.02064, allocations: 11.98 kB / 0.8282 GB, free: 64 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.02067, allocations: 19.97 kB / 0.8282 GB, free: 44 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.02068, allocations: 8 kB / 0.8282 GB, free: 36 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001352/0.02081, allocations: 200 kB / 0.8284 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.02081, allocations: 0 / 0.8284 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002905/0.02111, allocations: 88 kB / 0.8285 GB, free: 15.75 MB / 0.7917 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.0001438/0.02125, allocations: 111.2 kB / 0.8286 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0007574/0.02201, allocations: 433.2 kB / 0.829 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02201, allocations: 0 / 0.829 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.306e-05/0.0221, allocations: 88.27 kB / 0.8291 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.0224, allocations: 61.08 kB / 0.8291 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.02354, allocations: 0.7009 MB / 0.8298 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.456e-05/0.02361, allocations: 112.3 kB / 0.8299 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.02374, allocations: 62.22 kB / 0.83 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.02381, allocations: 24.48 kB / 0.83 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of SimCode: time 9.42e-07/0.02381, allocations: 0 / 0.83 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of Templates: time 0.006166/0.02997, allocations: 4.224 MB / 0.8341 GB, free: 9.926 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.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.225853122305125]