Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001326/0.001326, allocations: 113 kB / 17.08 MB, free: 5.789 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.001307/0.001307, allocations: 191.7 kB / 20.03 MB, free: 2.906 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.493/1.493, allocations: 222.9 MB / 245.7 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.724/2.724, allocations: 437.1 MB / 0.7177 GB, free: 4.508 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3196, allocations: 151.6 MB / 1.176 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005169/0.3248, allocations: 3.074 MB / 1.179 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003454/0.3283, allocations: 1.936 MB / 1.181 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.3285, allocations: 7.938 kB / 1.181 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009726/0.3295, allocations: 278.9 kB / 1.181 GB, free: 0.582 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005179/0.33, allocations: 195.1 kB / 1.181 GB, free: 400 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.3308, allocations: 243.3 kB / 1.181 GB, free: 156 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004271/0.3312, allocations: 323 kB / 1.182 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.3316, allocations: 177 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.3318, allocations: 135.5 kB / 1.182 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.3321, allocations: 151.4 kB / 1.182 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.3321, allocations: 20 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007003/0.3328, allocations: 403.2 kB / 1.183 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.333, allocations: 91.72 kB / 1.183 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.3331, allocations: 119.4 kB / 1.183 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006941/0.3338, allocations: 490.3 kB / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3338, allocations: 4 kB / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3338, allocations: 0 / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3339, allocations: 4 kB / 1.183 GB, free: 14.27 MB / 0.9356 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.0009995/0.3349, allocations: 0.5646 MB / 1.184 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3349, allocations: 12.03 kB / 1.184 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007999/0.3357, allocations: 124.5 kB / 1.184 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.3361, allocations: 269.9 kB / 1.184 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.3362, allocations: 12.81 kB / 1.184 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.3362, allocations: 16.38 kB / 1.184 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.3368, allocations: 361.2 kB / 1.185 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3368, allocations: 0 / 1.185 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.3368, allocations: 12 kB / 1.185 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.547e-05/0.3369, allocations: 24.42 kB / 1.185 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.3374, allocations: 297.5 kB / 1.185 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.3397, allocations: 1.722 MB / 1.187 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.3402, allocations: 326.1 kB / 1.187 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.3404, allocations: 105.9 kB / 1.187 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.3405, allocations: 96.97 kB / 1.187 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3406, allocations: 34.56 kB / 1.187 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3406, allocations: 0 / 1.187 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.002579/0.3432, allocations: 0.9587 MB / 1.188 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.3433, allocations: 93.03 kB / 1.188 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.3435, allocations: 211.7 kB / 1.188 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3435, allocations: 33.73 kB / 1.188 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.3437, allocations: 172.4 kB / 1.189 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.3438, allocations: 83.33 kB / 1.189 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.3439, allocations: 61.69 kB / 1.189 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3441, allocations: 326.8 kB / 1.189 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.3443, allocations: 135.9 kB / 1.189 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.3446, allocations: 221.9 kB / 1.189 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.3451, allocations: 361.9 kB / 1.19 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3451, allocations: 0 / 1.19 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009145/0.346, allocations: 0.5183 MB / 1.19 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.346, allocations: 5.25 kB / 1.19 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3461, allocations: 4 kB / 1.19 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/0.3466, allocations: 151.6 kB / 1.19 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.3469, allocations: 59.91 kB / 1.19 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003605/0.3505, allocations: 4.198 MB / 1.194 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.3507, allocations: 15.98 kB / 1.194 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.3508, allocations: 16 kB / 1.194 GB, free: 1.871 MB / 0.9356 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.0002025/0.351, allocations: 169.7 kB / 1.195 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.351, allocations: 23.86 kB / 1.195 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009133/0.352, allocations: 476.1 kB / 1.195 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.352, allocations: 11.98 kB / 1.195 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.352, allocations: 0 / 1.195 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.352, allocations: 0 / 1.195 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.3537, allocations: 1.004 MB / 1.196 GB, free: 84 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.3537, allocations: 4 kB / 1.196 GB, free: 80 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.3538, allocations: 31.97 kB / 1.196 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/0.3543, allocations: 143.5 kB / 1.196 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3543, allocations: 12 kB / 1.196 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003441/0.3578, allocations: 4.155 MB / 1.2 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3578, allocations: 8.188 kB / 1.2 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009148/0.3587, allocations: 0.626 MB / 1.201 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.3589, allocations: 121 kB / 1.201 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.3589, allocations: 11.92 kB / 1.201 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.3591, allocations: 20.03 kB / 1.201 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.3592, allocations: 31.95 kB / 1.201 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.3592, allocations: 12 kB / 1.201 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001623/0.3594, allocations: 148.2 kB / 1.201 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.3594, allocations: 0 / 1.201 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005178/0.3599, allocations: 95.86 kB / 1.201 GB, free: 10.26 MB / 0.9512 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.0002188/0.3601, allocations: 141.4 kB / 1.202 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.3612, allocations: 0.5872 MB / 1.202 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3612, allocations: 0 / 1.202 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000533/0.3618, allocations: 397.1 kB / 1.202 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.3623, allocations: 51 kB / 1.203 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3634, allocations: 0.6674 MB / 1.203 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.3639, allocations: 0.7792 MB / 1.204 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.3639, allocations: 35.36 kB / 1.204 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.3639, allocations: 3.938 kB / 1.204 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of Templates: time 0.01087/0.3748, allocations: 7.628 MB / 1.211 GB, free: 15.85 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.99907684000209]