Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001281/0.001281, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001366/0.001366, allocations: 169 kB / 24.28 MB, free: 280 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.9386/0.9386, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.852/1.852, allocations: 377.8 MB / 0.6239 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 3.938 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.742e-05, allocations: 4.984 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00389/0.003907, allocations: 3.163 MB / 0.8146 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002547/0.006454, allocations: 1.953 MB / 0.8165 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.006583, allocations: 7.938 kB / 0.8165 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.007257, allocations: 299.6 kB / 0.8168 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.00765, allocations: 197.1 kB / 0.817 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.008164, allocations: 261.5 kB / 0.8172 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003519/0.008516, allocations: 334.8 kB / 0.8175 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.008792, allocations: 145.1 kB / 0.8177 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.00904, allocations: 187.5 kB / 0.8179 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.009286, allocations: 139.6 kB / 0.818 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.009319, allocations: 20 kB / 0.818 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004995/0.009818, allocations: 391.5 kB / 0.8184 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.606e-05/0.009914, allocations: 92.45 kB / 0.8185 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.481e-05/0.01001, allocations: 91.75 kB / 0.8186 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008773/0.01089, allocations: 423.2 kB / 0.819 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.01089, allocations: 1.625 kB / 0.819 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.01089, allocations: 0 / 0.819 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.0109, allocations: 0 / 0.819 GB, free: 10.43 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007003/0.0116, allocations: 0.5938 MB / 0.8196 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.01163, allocations: 8.031 kB / 0.8196 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007546/0.01238, allocations: 161.9 kB / 0.8197 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.01265, allocations: 213.2 kB / 0.8199 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.01267, allocations: 14.25 kB / 0.8199 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.0127, allocations: 28.25 kB / 0.82 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.01307, allocations: 290.1 kB / 0.8202 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.01308, allocations: 192 / 0.8202 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.01311, allocations: 13.19 kB / 0.8202 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.903e-05/0.01316, allocations: 32.34 kB / 0.8203 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.0134, allocations: 123.8 kB / 0.8204 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.01476, allocations: 1.383 MB / 0.8217 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.01506, allocations: 197.8 kB / 0.8219 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.565e-05/0.01514, allocations: 47.36 kB / 0.822 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.0152, allocations: 18.92 kB / 0.822 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.01523, allocations: 37.33 kB / 0.822 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.01523, allocations: 0 / 0.822 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.001346/0.01657, allocations: 0.5536 MB / 0.8226 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.01661, allocations: 85.66 kB / 0.8227 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.01678, allocations: 260.2 kB / 0.8229 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.0168, allocations: 29.7 kB / 0.8229 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.0169, allocations: 215.9 kB / 0.8231 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/0.01695, allocations: 87.25 kB / 0.8232 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.971e-05/0.01704, allocations: 68.59 kB / 0.8233 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.01718, allocations: 0.5117 MB / 0.8238 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.01728, allocations: 47.97 kB / 0.8238 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.01743, allocations: 167 kB / 0.824 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.0177, allocations: 236.3 kB / 0.8242 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01771, allocations: 0 / 0.8242 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005358/0.01824, allocations: 333.1 kB / 0.8245 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.01826, allocations: 4 kB / 0.8245 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01826, allocations: 4 kB / 0.8245 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004403/0.0187, allocations: 138.8 kB / 0.8247 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.01889, allocations: 64.55 kB / 0.8247 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.02138, allocations: 5.112 MB / 0.8297 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.02152, allocations: 26.97 kB / 0.8298 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.02154, allocations: 12 kB / 0.8298 GB, free: 14.67 MB / 0.7917 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.02165, allocations: 168.5 kB / 0.8299 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.02171, allocations: 31.86 kB / 0.83 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005073/0.02222, allocations: 294 kB / 0.8302 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.02222, allocations: 0 / 0.8302 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.02223, allocations: 11.94 kB / 0.8302 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.02223, allocations: 3.984 kB / 0.8303 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009494/0.02318, allocations: 0.734 MB / 0.831 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.02319, allocations: 4 kB / 0.831 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-05/0.02328, allocations: 35.92 kB / 0.831 GB, free: 13.28 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003383/0.02362, allocations: 134.9 kB / 0.8311 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.02363, allocations: 8 kB / 0.8311 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.02582, allocations: 5.116 MB / 0.8361 GB, free: 7.699 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.02582, allocations: 4 kB / 0.8361 GB, free: 7.695 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.02635, allocations: 0.5887 MB / 0.8367 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.02643, allocations: 47.83 kB / 0.8368 GB, free: 6.988 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.02645, allocations: 8 kB / 0.8368 GB, free: 6.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.02662, allocations: 15.98 kB / 0.8368 GB, free: 6.965 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.02667, allocations: 31.89 kB / 0.8368 GB, free: 6.934 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.02669, allocations: 16 kB / 0.8368 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001038/0.02679, allocations: 178.9 kB / 0.837 GB, free: 6.742 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.02679, allocations: 0 / 0.837 GB, free: 6.742 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004552/0.02725, allocations: 91.88 kB / 0.8371 GB, free: 6.652 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001808/0.02743, allocations: 151 kB / 0.8372 GB, free: 6.496 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000631/0.02806, allocations: 0.5614 MB / 0.8378 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.02806, allocations: 0 / 0.8378 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.02838, allocations: 448.1 kB / 0.8382 GB, free: 5.422 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.02882, allocations: 51.36 kB / 0.8383 GB, free: 5.379 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.02984, allocations: 0.5793 MB / 0.8388 GB, free: 4.734 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.809e-05/0.02994, allocations: 112.2 kB / 0.8389 GB, free: 4.605 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.03006, allocations: 50.25 kB / 0.839 GB, free: 4.555 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.03011, allocations: 20.5 kB / 0.839 GB, free: 4.535 MB / 0.7917 GB Notification: Performance of SimCode: time 7.51e-07/0.03011, allocations: 0 / 0.839 GB, free: 4.535 MB / 0.7917 GB Notification: Performance of Templates: time 0.007087/0.0372, allocations: 4.239 MB / 0.8431 GB, free: 360 kB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.166552149923518]