Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.001439/0.001439, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001814/0.001814, allocations: 203.3 kB / 22.18 MB, free: 5.211 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.51/1.51, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.962/2.962, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] 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.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002905/0.002905, allocations: 59.91 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.949/0.9519, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002953/0.9549, allocations: 1.224 MB / 1.275 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.9559, allocations: 434.6 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.956, allocations: 0 / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.956, allocations: 3.938 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.956, allocations: 0 / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.9567, allocations: 103.7 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.192e-05/0.9568, allocations: 27.91 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.9569, allocations: 0 / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.59e-05/0.9569, allocations: 11.92 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.28e-05/0.957, allocations: 4 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.957, allocations: 0 / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.9572, allocations: 111.8 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.9573, allocations: 11.92 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.9573, allocations: 4 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.9576, allocations: 98.41 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9576, allocations: 0 / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9576, allocations: 4 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.9576, allocations: 0 / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006475/0.9582, allocations: 384.8 kB / 1.276 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9583, allocations: 12.03 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.9583, allocations: 4.891 kB / 1.276 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.9585, allocations: 160.4 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.9585, allocations: 8.375 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.9585, allocations: 384 / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.9586, allocations: 42.17 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.9587, allocations: 8.188 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.9587, allocations: 3.938 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.9587, allocations: 0 / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.9587, allocations: 4 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.9589, allocations: 161.7 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.236e-05/0.959, allocations: 22.61 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.959, allocations: 16.86 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.9591, allocations: 4 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.9593, allocations: 63.41 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.9593, allocations: 0 / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002398/0.9595, allocations: 69.61 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.9596, allocations: 51.41 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.945e-05/0.9597, allocations: 97.81 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.9597, allocations: 33.7 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.9597, allocations: 92.06 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.9597, allocations: 3.953 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.9598, allocations: 25.72 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.9599, allocations: 314.8 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.96, allocations: 7.938 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.194e-05/0.96, allocations: 31.44 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.007e-05/0.9601, allocations: 51.36 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9601, allocations: 0 / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001209/0.9602, allocations: 65.62 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.9602, allocations: 7.938 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.9602, allocations: 4 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.9603, allocations: 8.031 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.9603, allocations: 11.98 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.9603, allocations: 0 / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.9604, allocations: 7.891 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.9604, allocations: 4 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 9.714e-05/0.9605, allocations: 117.8 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.9605, allocations: 3.938 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.9605, allocations: 3.5 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.9605, allocations: 4 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.9605, allocations: 4 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.9605, allocations: 0 / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.9607, allocations: 157.7 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9607, allocations: 0 / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.9607, allocations: 0 / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.9607, allocations: 7.938 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.9607, allocations: 0 / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9607, allocations: 0 / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9607, allocations: 0 / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.9609, allocations: 89.05 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.961, allocations: 85.06 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.961, allocations: 8.406 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.162e-05/0.961, allocations: 0 / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.961, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.961, allocations: 7.984 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.716e-05/0.9611, allocations: 83.27 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9611, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002704/0.9614, allocations: 31.92 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000424/0.9618, allocations: 171.3 kB / 1.278 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.9619, allocations: 31.92 kB / 1.278 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9619, allocations: 0 / 1.278 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.962, allocations: 8 kB / 1.278 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.9621, allocations: 4.188 kB / 1.278 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.9624, allocations: 120.8 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.9628, allocations: 0.6807 MB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.8e-05/0.9628, allocations: 3.984 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.9628, allocations: 11.44 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of SimCode: time 8.42e-07/0.9628, allocations: 0 / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.00498/0.9678, allocations: 1.039 MB / 1.28 GB, free: 13.57 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 9.301323177292943]