Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 193.2 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.706/2.706, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|resistor.S.2.",fileNamePrefix="Buildings_11_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.1.|resistor.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.6901, allocations: 168.7 MB / 1.274 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004974/0.6951, allocations: 3.187 MB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.6984, allocations: 1.981 MB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.6985, allocations: 7.938 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000934/0.6994, allocations: 289.4 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004489/0.6998, allocations: 203.1 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/0.7004, allocations: 247.2 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.7009, allocations: 319 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.7011, allocations: 139 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.7013, allocations: 135.5 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.7016, allocations: 163.4 kB / 1.281 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.7017, allocations: 20 kB / 1.281 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006728/0.7024, allocations: 403.2 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.7025, allocations: 87.73 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.7026, allocations: 123.4 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000672/0.7033, allocations: 494.2 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7033, allocations: 0 / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.306e-06/0.7033, allocations: 4 kB / 1.282 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7033, allocations: 4 kB / 1.282 GB, free: 12.63 MB / 0.9825 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.0009362/0.7042, allocations: 0.5608 MB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.7043, allocations: 12.03 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008412/0.7051, allocations: 112.6 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.7055, allocations: 267.9 kB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.7055, allocations: 16.81 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.7056, allocations: 24.3 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.7061, allocations: 353.4 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.7062, allocations: 4 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.7062, allocations: 7.984 kB / 1.283 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.135e-05/0.7062, allocations: 32.42 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004899/0.7067, allocations: 289.5 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.7091, allocations: 1.73 MB / 1.285 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.7097, allocations: 326.1 kB / 1.285 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.7098, allocations: 105.7 kB / 1.285 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.71, allocations: 85.05 kB / 1.285 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.71, allocations: 38.55 kB / 1.285 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.71, allocations: 0 / 1.285 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.002572/0.7126, allocations: 0.9657 MB / 1.286 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.7126, allocations: 81.05 kB / 1.286 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.7129, allocations: 211.7 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.7129, allocations: 33.73 kB / 1.287 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.713, allocations: 176.4 kB / 1.287 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.394e-05/0.7131, allocations: 87.25 kB / 1.287 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.7132, allocations: 57.7 kB / 1.287 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.7134, allocations: 334.8 kB / 1.287 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.7136, allocations: 131.9 kB / 1.287 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.7139, allocations: 205.2 kB / 1.288 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.7144, allocations: 367.6 kB / 1.288 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7144, allocations: 0 / 1.288 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009416/0.7153, allocations: 0.5088 MB / 1.288 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.7154, allocations: 4 kB / 1.288 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.7154, allocations: 4 kB / 1.288 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/0.7159, allocations: 163.5 kB / 1.289 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.7162, allocations: 63.91 kB / 1.289 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003764/0.72, allocations: 4.186 MB / 1.293 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.7202, allocations: 23.91 kB / 1.293 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.7202, allocations: 16 kB / 1.293 GB, free: 252 kB / 0.9825 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.0002188/0.7205, allocations: 165.8 kB / 1.293 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.7205, allocations: 23.8 kB / 1.293 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009586/0.7215, allocations: 476.3 kB / 1.293 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.7215, allocations: 0 / 1.293 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.7215, allocations: 8 kB / 1.293 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.7215, allocations: 3.984 kB / 1.293 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.7233, allocations: 0.9975 MB / 1.294 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.7233, allocations: 4 kB / 1.294 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.7234, allocations: 35.92 kB / 1.294 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/0.7238, allocations: 147.6 kB / 1.295 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.7239, allocations: 11.94 kB / 1.295 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003523/0.7274, allocations: 4.155 MB / 1.299 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7274, allocations: 4.156 kB / 1.299 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009432/0.7283, allocations: 0.6173 MB / 1.299 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.7285, allocations: 121 kB / 1.299 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.7285, allocations: 11.94 kB / 1.299 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.7288, allocations: 23.97 kB / 1.299 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.7288, allocations: 23.92 kB / 1.299 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.7289, allocations: 8 kB / 1.299 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001637/0.729, allocations: 157.5 kB / 1.3 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.729, allocations: 0 / 1.3 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005624/0.7296, allocations: 87.94 kB / 1.3 GB, free: 8.656 MB / 0.9981 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.0002158/0.7298, allocations: 136.6 kB / 1.3 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.7308, allocations: 0.5794 MB / 1.3 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7308, allocations: 0 / 1.3 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000582/0.7314, allocations: 393 kB / 1.301 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.732, allocations: 41.78 kB / 1.301 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.7331, allocations: 0.6483 MB / 1.301 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.7336, allocations: 0.7792 MB / 1.302 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.7338, allocations: 62.25 kB / 1.302 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.7338, allocations: 23.42 kB / 1.302 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.7338, allocations: 0 / 1.302 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of Templates: time 0.009402/0.7432, allocations: 4.369 MB / 1.307 GB, free: 1.539 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.40525943506509]