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.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.001749/0.001749, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002199/0.002199, allocations: 212.7 kB / 22.24 MB, free: 4.855 MB / 14.72 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 1.622/1.622, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.966/2.966, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 68.92 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3844, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.003046/0.3875, allocations: 1.24 MB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3886, allocations: 406.7 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.3886, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.3886, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.612e-05/0.3887, allocations: 7.938 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007163/0.3894, allocations: 115.6 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.993e-05/0.3895, allocations: 12 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.3895, allocations: 7.984 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.3896, allocations: 7.938 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.431e-05/0.3896, allocations: 7.984 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3896, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.39, allocations: 135.7 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.39, allocations: 4 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.39, allocations: 11.92 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.3903, allocations: 99.69 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3903, allocations: 0 / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3903, allocations: 0 / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.3903, allocations: 0 / 1.285 GB, free: 9.938 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005966/0.3909, allocations: 307.9 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3909, allocations: 8.031 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.391, allocations: 0.9375 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3911, allocations: 114.4 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.3911, allocations: 384 / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.3911, allocations: 8.375 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.3913, allocations: 42.23 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3913, allocations: 192 / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3913, allocations: 3.938 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3913, allocations: 4 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.229e-05/0.3913, allocations: 0 / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.3915, allocations: 109.3 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3916, allocations: 36.25 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.3916, allocations: 12.98 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.3917, allocations: 4 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.3918, allocations: 59.36 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.3918, allocations: 0 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002524/0.3921, allocations: 73.55 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.3922, allocations: 51.41 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3923, allocations: 109.8 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3923, allocations: 25.7 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.3923, allocations: 80.14 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.3924, allocations: 15.94 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.3924, allocations: 21.7 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3926, allocations: 310.8 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/0.3926, allocations: 16 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.684e-05/0.3926, allocations: 35.42 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.088e-05/0.3927, allocations: 39.38 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3927, allocations: 0 / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001411/0.3929, allocations: 73.56 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3929, allocations: 4 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3929, allocations: 4 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3929, allocations: 8.031 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.393, allocations: 15.94 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.393, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.393, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.393, allocations: 4 kB / 1.287 GB, free: 8.168 MB / 0.9825 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 0.0001042/0.3931, allocations: 109.8 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.3931, allocations: 7.984 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.3932, allocations: 7.625 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.3932, allocations: 8 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3932, allocations: 0 / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3932, allocations: 4 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.3933, allocations: 109.2 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3933, allocations: 0 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/0.3933, allocations: 0 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.3933, allocations: 4 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3933, allocations: 8.359 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3933, allocations: 7.875 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3933, allocations: 0 / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.3935, allocations: 89.09 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.555e-06/0.3935, allocations: 0 / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.3935, allocations: 0 / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.439e-05/0.3935, allocations: 7.938 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.3936, allocations: 7.984 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.3936, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.912e-05/0.3936, allocations: 83.28 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3936, allocations: 0 / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002716/0.3939, allocations: 31.92 kB / 1.287 GB, free: 7.633 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.000445/0.3944, allocations: 169.9 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.3945, allocations: 27.92 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3945, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.3945, allocations: 11.94 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.3947, allocations: 4 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.395, allocations: 110.3 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.804e-05/0.395, allocations: 55.36 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.395, allocations: 7.984 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.3951, allocations: 11.62 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.3951, allocations: 0 / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of Templates: time 0.004224/0.3993, allocations: 1.033 MB / 1.288 GB, free: 6.18 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 -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.606044840067625]