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.0009852/0.0009852, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009726/0.0009726, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9108/0.9108, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.742/1.742, allocations: 359 MB / 0.6055 GB, free: 11.02 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.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",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.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.475e-05, allocations: 3.094 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003157/0.003172, allocations: 3.355 MB / 0.7904 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.005321, allocations: 2.052 MB / 0.7924 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.442e-05/0.005415, allocations: 7.938 kB / 0.7924 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.005925, allocations: 308.9 kB / 0.7927 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.006227, allocations: 238.6 kB / 0.7929 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.006576, allocations: 282.2 kB / 0.7932 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.006871, allocations: 422.6 kB / 0.7936 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.007099, allocations: 172.9 kB / 0.7937 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.007317, allocations: 232.8 kB / 0.794 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.007534, allocations: 183.5 kB / 0.7941 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.007563, allocations: 26.38 kB / 0.7942 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.007792, allocations: 239.4 kB / 0.7944 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.329e-05/0.007886, allocations: 139.6 kB / 0.7945 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.405e-05/0.00797, allocations: 103.8 kB / 0.7946 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.008317, allocations: 398.6 kB / 0.795 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.008319, allocations: 0 / 0.795 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.008319, allocations: 0 / 0.795 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.008324, allocations: 0.7188 kB / 0.795 GB, free: 4.719 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006277/0.008951, allocations: 0.6343 MB / 0.7956 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.00898, allocations: 8.031 kB / 0.7956 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/0.009585, allocations: 161.1 kB / 0.7958 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.009809, allocations: 224 kB / 0.796 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.009823, allocations: 20.86 kB / 0.796 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-05/0.009905, allocations: 40.61 kB / 0.7961 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.0103, allocations: 418.7 kB / 0.7965 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.01031, allocations: 4.141 kB / 0.7965 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.01033, allocations: 19.91 kB / 0.7965 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.25e-05/0.01042, allocations: 42.22 kB / 0.7965 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.01065, allocations: 158.8 kB / 0.7967 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.01196, allocations: 1.832 MB / 0.7985 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.01216, allocations: 158.5 kB / 0.7986 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.01224, allocations: 71.59 kB / 0.7987 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.01226, allocations: 4 kB / 0.7987 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.01228, allocations: 34.45 kB / 0.7987 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.01228, allocations: 0 / 0.7987 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0008549/0.01313, allocations: 0.5572 MB / 0.7993 GB, free: 112 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.01316, allocations: 59.34 kB / 0.7993 GB, free: 40 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.01335, allocations: 286.7 kB / 0.7996 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.01337, allocations: 30.2 kB / 0.7996 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.01346, allocations: 245 kB / 0.7998 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.0135, allocations: 83.28 kB / 0.7999 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.01359, allocations: 83.28 kB / 0.8 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.01369, allocations: 0.504 MB / 0.8005 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.0138, allocations: 63.91 kB / 0.8006 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.01394, allocations: 182 kB / 0.8007 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.01419, allocations: 261.7 kB / 0.801 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01419, allocations: 0 / 0.801 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005492/0.01474, allocations: 397.8 kB / 0.8014 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.01475, allocations: 5.094 kB / 0.8014 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01475, allocations: 4 kB / 0.8014 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/0.01532, allocations: 187.4 kB / 0.8016 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.01548, allocations: 71.83 kB / 0.8016 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.0169, allocations: 2.19 MB / 0.8038 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.01705, allocations: 19.98 kB / 0.8038 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.01707, allocations: 23.97 kB / 0.8038 GB, free: 11.18 MB / 0.7605 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 9.442e-05/0.01717, allocations: 172.5 kB / 0.804 GB, free: 11 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.01721, allocations: 31.86 kB / 0.804 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.01746, allocations: 214 kB / 0.8042 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01746, allocations: 0 / 0.8042 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01746, allocations: 7.969 kB / 0.8042 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01746, allocations: 3.984 kB / 0.8042 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.01797, allocations: 0.5643 MB / 0.8048 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.01797, allocations: 3.984 kB / 0.8048 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.01817, allocations: 71.89 kB / 0.8048 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01817, allocations: 4 kB / 0.8048 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.01819, allocations: 15.92 kB / 0.8049 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01819, allocations: 0 / 0.8049 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.0182, allocations: 0 / 0.8049 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.01858, allocations: 419.5 kB / 0.8053 GB, free: 9.602 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.01864, allocations: 43.81 kB / 0.8053 GB, free: 9.559 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.01867, allocations: 15.89 kB / 0.8053 GB, free: 9.543 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.01878, allocations: 16.03 kB / 0.8053 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.01881, allocations: 19.89 kB / 0.8053 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.01882, allocations: 8 kB / 0.8054 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001024/0.01892, allocations: 196 kB / 0.8055 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01892, allocations: 0 / 0.8055 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002461/0.01917, allocations: 92 kB / 0.8056 GB, free: 9.219 MB / 0.7605 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.000107/0.01927, allocations: 111.2 kB / 0.8057 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004875/0.01976, allocations: 436.9 kB / 0.8061 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01976, allocations: 0.625 kB / 0.8061 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.01985, allocations: 79.59 kB / 0.8062 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.02013, allocations: 60.12 kB / 0.8063 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.02115, allocations: 0.7049 MB / 0.807 GB, free: 7.766 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.28e-05/0.02122, allocations: 108.3 kB / 0.8071 GB, free: 7.641 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.02134, allocations: 62.22 kB / 0.8071 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.0214, allocations: 28.48 kB / 0.8072 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of SimCode: time 6.71e-07/0.0214, allocations: 0 / 0.8072 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of Templates: time 0.00545/0.02685, allocations: 4.215 MB / 0.8113 GB, free: 3.395 MB / 0.7605 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.878256493015215]