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.001408/0.001408, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.00183/0.00183, allocations: 181 kB / 23.36 MB, free: 1.133 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.9498/0.9498, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.368/2.368, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.562e-06/1.562e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.689e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003684/0.003701, allocations: 2.709 MB / 0.8413 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.005927, allocations: 1.491 MB / 0.8427 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.006038, allocations: 7.938 kB / 0.8427 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.006501, allocations: 107.4 kB / 0.8428 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.006806, allocations: 194.9 kB / 0.843 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.007196, allocations: 263.2 kB / 0.8433 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.00759, allocations: 422.6 kB / 0.8437 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.007873, allocations: 174.3 kB / 0.8438 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.00818, allocations: 227.4 kB / 0.844 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.008478, allocations: 187.5 kB / 0.8442 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.008514, allocations: 24 kB / 0.8443 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.008758, allocations: 167.7 kB / 0.8444 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.008871, allocations: 143.5 kB / 0.8445 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.9e-05/0.00896, allocations: 99.8 kB / 0.8446 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.009346, allocations: 358.8 kB / 0.845 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.009348, allocations: 4 kB / 0.845 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.413e-06/0.00935, allocations: 0 / 0.845 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.009357, allocations: 0 / 0.845 GB, free: 7.637 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.0006833/0.01004, allocations: 499.4 kB / 0.8455 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.01008, allocations: 8.031 kB / 0.8455 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006417/0.01073, allocations: 156.5 kB / 0.8456 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.011, allocations: 198.7 kB / 0.8458 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.01102, allocations: 16.86 kB / 0.8458 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-05/0.01112, allocations: 40.7 kB / 0.8459 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.01152, allocations: 382.5 kB / 0.8462 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.01154, allocations: 192 / 0.8462 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.01156, allocations: 11.94 kB / 0.8462 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-05/0.01165, allocations: 44.47 kB / 0.8463 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.01181, allocations: 107.3 kB / 0.8464 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.01309, allocations: 1.299 MB / 0.8477 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.01329, allocations: 170.2 kB / 0.8478 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.01336, allocations: 44.84 kB / 0.8479 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.01338, allocations: 4 kB / 0.8479 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.01342, allocations: 42.48 kB / 0.8479 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 2.074e-06/0.01342, allocations: 0 / 0.8479 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0008799/0.0143, allocations: 444.5 kB / 0.8483 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.01434, allocations: 59.34 kB / 0.8484 GB, free: 3.938 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.01451, allocations: 215.1 kB / 0.8486 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.01454, allocations: 33.7 kB / 0.8486 GB, free: 3.676 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.01463, allocations: 180.3 kB / 0.8488 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.01468, allocations: 99.19 kB / 0.8489 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/0.01477, allocations: 65.66 kB / 0.849 GB, free: 3.328 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.01488, allocations: 334.8 kB / 0.8493 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.892e-05/0.01495, allocations: 43.92 kB / 0.8493 GB, free: 2.949 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.01507, allocations: 127.1 kB / 0.8494 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.01529, allocations: 210.7 kB / 0.8496 GB, free: 2.551 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01529, allocations: 0 / 0.8496 GB, free: 2.551 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004555/0.01575, allocations: 291 kB / 0.8499 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.01576, allocations: 8 kB / 0.8499 GB, free: 2.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.01577, allocations: 3.938 kB / 0.8499 GB, free: 2.246 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/0.01633, allocations: 183.5 kB / 0.8501 GB, free: 2.062 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.0165, allocations: 67.83 kB / 0.8502 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.01796, allocations: 1.566 MB / 0.8517 GB, free: 340 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.0181, allocations: 12 kB / 0.8517 GB, free: 328 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.01812, allocations: 20.02 kB / 0.8517 GB, free: 308 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 0.0001339/0.01826, allocations: 132.5 kB / 0.8519 GB, free: 164 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.0183, allocations: 27.92 kB / 0.8519 GB, free: 136 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.01852, allocations: 155.4 kB / 0.852 GB, free: 15.97 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.01853, allocations: 4 kB / 0.852 GB, free: 15.96 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01853, allocations: 4 kB / 0.852 GB, free: 15.96 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01854, allocations: 3.938 kB / 0.852 GB, free: 15.96 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.01902, allocations: 440.1 kB / 0.8525 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.01903, allocations: 4.062 kB / 0.8525 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.01933, allocations: 99.83 kB / 0.8526 GB, free: 15.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01934, allocations: 4 kB / 0.8526 GB, free: 15.39 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.01936, allocations: 11.94 kB / 0.8526 GB, free: 15.38 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01936, allocations: 112 / 0.8526 GB, free: 15.38 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.01936, allocations: 3.938 kB / 0.8526 GB, free: 15.38 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.0197, allocations: 342.1 kB / 0.8529 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.01977, allocations: 47.75 kB / 0.8529 GB, free: 14.98 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.0198, allocations: 8 kB / 0.853 GB, free: 14.97 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-05/0.01989, allocations: 8 kB / 0.853 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.01993, allocations: 19.91 kB / 0.853 GB, free: 14.94 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.01994, allocations: 4 kB / 0.853 GB, free: 14.94 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.511e-05/0.02001, allocations: 69.67 kB / 0.8531 GB, free: 14.87 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.02001, allocations: 0 / 0.8531 GB, free: 14.87 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002741/0.02029, allocations: 84 kB / 0.8531 GB, free: 14.79 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.0001662/0.02045, allocations: 96.39 kB / 0.8532 GB, free: 14.68 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004876/0.02094, allocations: 334.9 kB / 0.8535 GB, free: 14.34 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.02095, allocations: 4 kB / 0.8535 GB, free: 14.34 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.13e-05/0.02102, allocations: 64.03 kB / 0.8536 GB, free: 14.27 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.02128, allocations: 61.08 kB / 0.8537 GB, free: 14.21 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.02232, allocations: 0.6385 MB / 0.8543 GB, free: 13.54 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.374e-05/0.02239, allocations: 116.5 kB / 0.8544 GB, free: 13.41 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.93e-05/0.02249, allocations: 30.28 kB / 0.8544 GB, free: 13.38 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.02263, allocations: 95.28 kB / 0.8545 GB, free: 13.28 MB / 0.823 GB Notification: Performance of SimCode: time 9.62e-07/0.02264, allocations: 4 kB / 0.8545 GB, free: 13.28 MB / 0.823 GB Notification: Performance of Templates: time 0.006475/0.02911, allocations: 4.448 MB / 0.8589 GB, free: 8.875 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 -s gbode -gbm=radauIIA3 -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.299791989382356]