Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009171/0.0009171, 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.001014/0.001014, allocations: 177.4 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.9151/0.9151, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.28/2.28, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.922e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00395/0.003969, allocations: 2.662 MB / 0.8412 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.005808, allocations: 1.488 MB / 0.8426 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.00591, allocations: 7.938 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.006315, allocations: 111.3 kB / 0.8427 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.006589, allocations: 194.9 kB / 0.8429 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.006937, allocations: 263.2 kB / 0.8432 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.007283, allocations: 422.6 kB / 0.8436 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.007536, allocations: 178.2 kB / 0.8438 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.007805, allocations: 227.4 kB / 0.844 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.008077, allocations: 175.5 kB / 0.8441 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.00811, allocations: 24 kB / 0.8442 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.008311, allocations: 171.6 kB / 0.8443 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.008418, allocations: 135.6 kB / 0.8445 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.855e-05/0.008516, allocations: 103.7 kB / 0.8446 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.008846, allocations: 350.9 kB / 0.8449 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.008847, allocations: 0 / 0.8449 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.22e-07/0.008848, allocations: 0 / 0.8449 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.008853, allocations: 3.984 kB / 0.8449 GB, free: 7.758 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006158/0.009469, allocations: 499.7 kB / 0.8454 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.009505, allocations: 8.031 kB / 0.8454 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005384/0.01004, allocations: 156.5 kB / 0.8455 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.01028, allocations: 206 kB / 0.8457 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.0103, allocations: 12.88 kB / 0.8457 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.77e-05/0.01039, allocations: 44.67 kB / 0.8458 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.01075, allocations: 382.6 kB / 0.8461 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.01076, allocations: 192 / 0.8461 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.01078, allocations: 19.86 kB / 0.8462 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-05/0.01086, allocations: 40.47 kB / 0.8462 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.01101, allocations: 107.3 kB / 0.8463 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.01206, allocations: 1.295 MB / 0.8476 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.01224, allocations: 174.3 kB / 0.8477 GB, free: 4.676 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.01229, allocations: 44.84 kB / 0.8478 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.0123, allocations: 4 kB / 0.8478 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.01232, allocations: 34.56 kB / 0.8478 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.132e-06/0.01232, allocations: 0 / 0.8478 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0006771/0.013, allocations: 448.8 kB / 0.8482 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.01302, allocations: 51.41 kB / 0.8483 GB, free: 4.055 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.01317, allocations: 227.1 kB / 0.8485 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.01319, allocations: 33.7 kB / 0.8485 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.01326, allocations: 184.3 kB / 0.8487 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.0133, allocations: 87.2 kB / 0.8488 GB, free: 3.512 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.01338, allocations: 65.66 kB / 0.8489 GB, free: 3.441 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/0.01345, allocations: 338.8 kB / 0.8492 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.01351, allocations: 39.94 kB / 0.8492 GB, free: 3.062 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.45e-05/0.0136, allocations: 135 kB / 0.8493 GB, free: 2.895 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.01376, allocations: 202.7 kB / 0.8495 GB, free: 2.664 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01377, allocations: 0 / 0.8495 GB, free: 2.664 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000383/0.01415, allocations: 298.6 kB / 0.8498 GB, free: 2.363 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.01416, allocations: 8 kB / 0.8498 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01417, allocations: 7.938 kB / 0.8498 GB, free: 2.348 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000471/0.01464, allocations: 187.7 kB / 0.85 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.01477, allocations: 55.91 kB / 0.8501 GB, free: 2.105 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.01587, allocations: 1.566 MB / 0.8516 GB, free: 456 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.016, allocations: 16 kB / 0.8516 GB, free: 440 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.01602, allocations: 15.98 kB / 0.8516 GB, free: 424 kB / 0.8073 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 8.976e-05/0.01611, allocations: 132.7 kB / 0.8518 GB, free: 280 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.01615, allocations: 23.86 kB / 0.8518 GB, free: 256 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.01632, allocations: 163.4 kB / 0.8519 GB, free: 84 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01632, allocations: 0 / 0.8519 GB, free: 84 kB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.72e-07/0.01632, allocations: 4 kB / 0.8519 GB, free: 80 kB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01632, allocations: 8.016 kB / 0.852 GB, free: 72 kB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.01672, allocations: 440.1 kB / 0.8524 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01672, allocations: 0 / 0.8524 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.0169, allocations: 71.89 kB / 0.8524 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.0169, allocations: 0 / 0.8524 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.01691, allocations: 7.938 kB / 0.8524 GB, free: 15.53 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01692, allocations: 0 / 0.8524 GB, free: 15.53 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01692, allocations: 4 kB / 0.8525 GB, free: 15.53 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.01716, allocations: 346 kB / 0.8528 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.01722, allocations: 47.83 kB / 0.8528 GB, free: 15.12 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.01724, allocations: 4 kB / 0.8528 GB, free: 15.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.03e-05/0.01733, allocations: 8 kB / 0.8528 GB, free: 15.11 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.01735, allocations: 15.97 kB / 0.8529 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.01736, allocations: 4 kB / 0.8529 GB, free: 15.09 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.874e-05/0.01742, allocations: 69.66 kB / 0.8529 GB, free: 15.02 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.01742, allocations: 0 / 0.8529 GB, free: 15.02 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000239/0.01766, allocations: 92 kB / 0.853 GB, free: 14.93 MB / 0.823 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.0001046/0.01776, allocations: 92.34 kB / 0.8531 GB, free: 14.83 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003698/0.01813, allocations: 337.6 kB / 0.8534 GB, free: 14.49 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.01814, allocations: 0 / 0.8534 GB, free: 14.49 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.184e-05/0.0182, allocations: 65.34 kB / 0.8535 GB, free: 14.42 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.01841, allocations: 54.88 kB / 0.8535 GB, free: 14.37 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008887/0.0193, allocations: 0.6424 MB / 0.8542 GB, free: 13.69 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.417e-05/0.01936, allocations: 112.5 kB / 0.8543 GB, free: 13.56 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.078e-05/0.01945, allocations: 34.27 kB / 0.8543 GB, free: 13.53 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.01958, allocations: 95.28 kB / 0.8544 GB, free: 13.43 MB / 0.823 GB Notification: Performance of SimCode: time 5.51e-07/0.01958, allocations: 4 kB / 0.8544 GB, free: 13.43 MB / 0.823 GB Notification: Performance of Templates: time 0.005598/0.02518, allocations: 4.458 MB / 0.8588 GB, free: 9.02 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.112213105894625]