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.001894/0.001894, allocations: 106.5 kB / 17.6 MB, free: 4.703 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.002557/0.002557, allocations: 190.7 kB / 20.78 MB, free: 1.543 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 / 249.4 MB, free: 3.141 MB / 190.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.795/2.795, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 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.002105/0.002105, allocations: 67.89 kB / 1.107 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215/1.218, allocations: 168.7 MB / 1.272 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.00282/1.22, allocations: 1.232 MB / 1.273 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009975/1.221, allocations: 424.3 kB / 1.274 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/1.221, allocations: 0 / 1.274 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/1.221, allocations: 3.938 kB / 1.274 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.886e-05/1.221, allocations: 5.578 kB / 1.274 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/1.222, allocations: 102.2 kB / 1.274 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.608e-05/1.222, allocations: 22.8 kB / 1.274 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/1.222, allocations: 2.984 kB / 1.274 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.929e-05/1.222, allocations: 9.141 kB / 1.274 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.781e-05/1.222, allocations: 13.5 kB / 1.274 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/1.222, allocations: 1.5 kB / 1.274 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/1.223, allocations: 107.2 kB / 1.274 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/1.223, allocations: 1 kB / 1.274 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/1.223, allocations: 17.91 kB / 1.274 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/1.223, allocations: 92.53 kB / 1.274 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/1.223, allocations: 1 kB / 1.274 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/1.223, allocations: 0 / 1.274 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.876e-06/1.223, allocations: 3.562 kB / 1.274 GB, free: 6.867 MB / 0.9981 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.0005223/1.223, allocations: 378.4 kB / 1.274 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.224, allocations: 9.344 kB / 1.274 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/1.224, allocations: 9.875 kB / 1.274 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/1.224, allocations: 164.6 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/1.224, allocations: 5.469 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/1.224, allocations: 2.5 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/1.224, allocations: 36.83 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.224, allocations: 192 / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.224, allocations: 4.906 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/1.224, allocations: 5.031 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/1.224, allocations: 10.28 kB / 1.275 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/1.224, allocations: 156 kB / 1.275 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.225e-05/1.224, allocations: 30.47 kB / 1.275 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/1.224, allocations: 13.7 kB / 1.275 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/1.224, allocations: 0 / 1.275 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/1.224, allocations: 62.28 kB / 1.275 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/1.224, allocations: 0 / 1.275 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002389/1.225, allocations: 77.69 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/1.225, allocations: 53.03 kB / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/1.225, allocations: 95.88 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/1.225, allocations: 32.39 kB / 1.275 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/1.225, allocations: 81.17 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/1.225, allocations: 9.859 kB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/1.225, allocations: 29.28 kB / 1.275 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.94e-05/1.225, allocations: 312.4 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/1.225, allocations: 6.734 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/1.225, allocations: 36.69 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.916e-05/1.225, allocations: 46.34 kB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/1.225, allocations: 1.031 kB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.388e-05/1.225, allocations: 72.88 kB / 1.276 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.225, allocations: 10.03 kB / 1.276 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.225, allocations: 1.562 kB / 1.276 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.225, allocations: 1.031 kB / 1.276 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/1.225, allocations: 12.39 kB / 1.276 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/1.225, allocations: 2.125 kB / 1.276 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/1.225, allocations: 12.86 kB / 1.276 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/1.225, allocations: 2.5 kB / 1.276 GB, free: 5.09 MB / 0.9981 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 6.364e-05/1.225, allocations: 120.1 kB / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/1.225, allocations: 4.656 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/1.225, allocations: 4.438 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/1.225, allocations: 0.9688 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.225, allocations: 0 / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.225, allocations: 0.8438 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/1.225, allocations: 155.1 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.225, allocations: 4 kB / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.054e-05/1.225, allocations: 2.031 kB / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/1.225, allocations: 4.938 kB / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/1.225, allocations: 1.797 kB / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.225, allocations: 0 / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.225, allocations: 1.031 kB / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/1.226, allocations: 85.88 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/1.226, allocations: 78.73 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/1.226, allocations: 10.31 kB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.113e-05/1.226, allocations: 7.938 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/1.226, allocations: 2 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/1.226, allocations: 4.203 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.664e-05/1.226, allocations: 79.12 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.226, allocations: 0 / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002759/1.226, allocations: 37.62 kB / 1.276 GB, free: 4.488 MB / 0.9981 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.0004063/1.226, allocations: 172.4 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001501/1.227, allocations: 32.2 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.227, allocations: 0.625 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.369e-05/1.227, allocations: 12.06 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/1.227, allocations: 5.297 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/1.227, allocations: 111.9 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/1.227, allocations: 0.6807 MB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.156e-05/1.227, allocations: 3.156 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/1.227, allocations: 14.8 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/1.227, allocations: 0 / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of Templates: time 0.004308/1.231, allocations: 1.039 MB / 1.278 GB, free: 3.398 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.515388524159789]