Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001002/0.001002, 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.001239/0.001239, 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 1.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.406/2.406, allocations: 438.8 MB / 0.6827 GB, free: 13.56 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.358e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003163/0.003187, allocations: 2.659 MB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.005271, allocations: 1.573 MB / 0.8427 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.005382, allocations: 7.938 kB / 0.8427 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.005844, allocations: 147.3 kB / 0.8429 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.006129, allocations: 167 kB / 0.843 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.006485, allocations: 239 kB / 0.8433 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.006762, allocations: 330.8 kB / 0.8436 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.006984, allocations: 163 kB / 0.8437 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.007201, allocations: 183.6 kB / 0.8439 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.007421, allocations: 147.5 kB / 0.8441 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.007447, allocations: 20 kB / 0.8441 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.007816, allocations: 315.3 kB / 0.8444 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.882e-05/0.007895, allocations: 95.73 kB / 0.8445 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.683e-05/0.007962, allocations: 83.77 kB / 0.8446 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.008351, allocations: 390.8 kB / 0.8449 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.008354, allocations: 0 / 0.8449 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.012e-06/0.008355, allocations: 0 / 0.8449 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.00836, allocations: 4 kB / 0.8449 GB, free: 7.633 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0005042/0.008864, allocations: 459.5 kB / 0.8454 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.008894, allocations: 8.031 kB / 0.8454 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/0.009428, allocations: 136.7 kB / 0.8455 GB, free: 7.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.009646, allocations: 201.8 kB / 0.8457 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.009659, allocations: 16.88 kB / 0.8457 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.009685, allocations: 20.36 kB / 0.8457 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.009944, allocations: 275.9 kB / 0.846 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.009954, allocations: 192 / 0.846 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.009971, allocations: 4.375 kB / 0.846 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/0.01, allocations: 32.42 kB / 0.846 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.01013, allocations: 79.38 kB / 0.8461 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009671/0.01109, allocations: 1.03 MB / 0.8471 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.01129, allocations: 182.7 kB / 0.8473 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/0.01134, allocations: 33.7 kB / 0.8473 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.807e-05/0.01139, allocations: 23.92 kB / 0.8473 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.01141, allocations: 34.56 kB / 0.8474 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.01141, allocations: 0 / 0.8474 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0005798/0.01199, allocations: 244 kB / 0.8476 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.01202, allocations: 89.22 kB / 0.8477 GB, free: 4.598 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.01213, allocations: 195.8 kB / 0.8479 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.01215, allocations: 29.7 kB / 0.8479 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.01221, allocations: 164.1 kB / 0.8481 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.01224, allocations: 63.47 kB / 0.8481 GB, free: 4.133 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/0.01229, allocations: 49.64 kB / 0.8482 GB, free: 4.078 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.0125, allocations: 326.8 kB / 0.8485 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.544e-05/0.01254, allocations: 23.98 kB / 0.8485 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.01261, allocations: 101.4 kB / 0.8486 GB, free: 3.594 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.01274, allocations: 154.1 kB / 0.8487 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01275, allocations: 0 / 0.8487 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002573/0.013, allocations: 197.9 kB / 0.8489 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.01302, allocations: 8 kB / 0.8489 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.01303, allocations: 0 / 0.8489 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.01326, allocations: 87.42 kB / 0.849 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.01338, allocations: 43.98 kB / 0.8491 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008043/0.01419, allocations: 1.732 MB / 0.8508 GB, free: 1.199 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.951e-05/0.01426, allocations: 31.97 kB / 0.8508 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.01428, allocations: 12 kB / 0.8508 GB, free: 1.156 MB / 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/0.01436, allocations: 124.6 kB / 0.8509 GB, free: 1.023 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.0144, allocations: 19.92 kB / 0.8509 GB, free: 1.004 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.01466, allocations: 160.6 kB / 0.8511 GB, free: 0.8398 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01466, allocations: 0 / 0.8511 GB, free: 0.8398 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.01467, allocations: 11.94 kB / 0.8511 GB, free: 0.8281 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01467, allocations: 0 / 0.8511 GB, free: 0.8281 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.01517, allocations: 0.5272 MB / 0.8516 GB, free: 252 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01517, allocations: 3.938 kB / 0.8516 GB, free: 248 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.01523, allocations: 23.94 kB / 0.8516 GB, free: 224 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001615/0.01539, allocations: 71.47 kB / 0.8517 GB, free: 144 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01541, allocations: 7.984 kB / 0.8517 GB, free: 136 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007366/0.01614, allocations: 1.731 MB / 0.8534 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.01615, allocations: 11.97 kB / 0.8534 GB, free: 14.26 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.01642, allocations: 455 kB / 0.8539 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.01647, allocations: 31.81 kB / 0.8539 GB, free: 13.74 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.01648, allocations: 4 kB / 0.8539 GB, free: 13.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.653e-05/0.01658, allocations: 8 kB / 0.8539 GB, free: 13.73 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.01661, allocations: 23.91 kB / 0.8539 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.01662, allocations: 4 kB / 0.8539 GB, free: 13.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.01666, allocations: 57.8 kB / 0.854 GB, free: 13.64 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.01666, allocations: 8 kB / 0.854 GB, free: 13.63 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002641/0.01693, allocations: 71.83 kB / 0.8541 GB, free: 13.56 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.01706, allocations: 108.3 kB / 0.8542 GB, free: 13.45 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002885/0.01735, allocations: 243.6 kB / 0.8544 GB, free: 13.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.01735, allocations: 0 / 0.8544 GB, free: 13.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.01748, allocations: 171.5 kB / 0.8546 GB, free: 13.01 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.01775, allocations: 34.56 kB / 0.8546 GB, free: 12.98 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009504/0.0187, allocations: 0.4962 MB / 0.8551 GB, free: 12.43 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.455e-05/0.01876, allocations: 96.3 kB / 0.8552 GB, free: 12.32 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.695e-05/0.01884, allocations: 29.98 kB / 0.8552 GB, free: 12.29 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/0.01894, allocations: 79.36 kB / 0.8553 GB, free: 12.21 MB / 0.823 GB Notification: Performance of SimCode: time 1.032e-06/0.01894, allocations: 0 / 0.8553 GB, free: 12.21 MB / 0.823 GB Notification: Performance of Templates: time 0.005043/0.02398, allocations: 3.155 MB / 0.8584 GB, free: 9.102 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.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.338217832148075]