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.001777/0.001777, allocations: 111.5 kB / 18.88 MB, free: 3.055 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.002021/0.002021, allocations: 191.9 kB / 22.17 MB, free: 5.203 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.472/1.472, 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.849/2.849, 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.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.002013/0.002013, allocations: 67.89 kB / 1.109 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8024/0.8044, allocations: 168.7 MB / 1.274 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002256/0.8066, allocations: 1.224 MB / 1.275 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008831/0.8075, allocations: 434.5 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.8075, allocations: 0 / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.8076, allocations: 0 / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.943e-05/0.8076, allocations: 3.938 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.8081, allocations: 107.6 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.207e-05/0.8082, allocations: 15.98 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.8082, allocations: 3.984 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.131e-05/0.8082, allocations: 8 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.066e-05/0.8082, allocations: 11.92 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.8083, allocations: 0 / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.8085, allocations: 107.8 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.8085, allocations: 11.97 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.8085, allocations: 7.938 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.8087, allocations: 94.44 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.8087, allocations: 0 / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8087, allocations: 0 / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.8087, allocations: 0 / 1.276 GB, free: 2.449 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.000546/0.8093, allocations: 388.8 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.8093, allocations: 12.03 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.8093, allocations: 4.891 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.8095, allocations: 168.4 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.8095, allocations: 384 / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.8095, allocations: 4.375 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.8096, allocations: 42.25 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8096, allocations: 192 / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.8096, allocations: 7.875 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.8096, allocations: 0 / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.313e-05/0.8097, allocations: 4 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.8098, allocations: 157.7 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.667e-05/0.8099, allocations: 30.52 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.81, allocations: 16.94 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-06/0.81, allocations: 0 / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.8101, allocations: 51.41 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.8101, allocations: 0 / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002146/0.8103, allocations: 73.73 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.8104, allocations: 51.41 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.8104, allocations: 117.8 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.8105, allocations: 25.7 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.8105, allocations: 88.08 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.8105, allocations: 7.953 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.8106, allocations: 17.72 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8107, allocations: 318.8 kB / 1.277 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.8107, allocations: 4 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.596e-05/0.8108, allocations: 43.41 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.291e-05/0.8108, allocations: 43.38 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8108, allocations: 4 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001055/0.8109, allocations: 65.56 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.811, allocations: 16.03 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.811, allocations: 3.984 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.811, allocations: 0 / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.811, allocations: 8 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.811, allocations: 0 / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/0.8111, allocations: 11.89 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.8111, allocations: 0 / 1.278 GB, free: 452 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 8.212e-05/0.8112, allocations: 113.8 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.8112, allocations: 3.938 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.8112, allocations: 15.48 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.8112, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.8112, allocations: 4 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.8112, allocations: 0 / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.8113, allocations: 157.6 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.8113, allocations: 3.938 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.304e-05/0.8114, allocations: 4 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.8114, allocations: 3.938 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.8114, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8114, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8114, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.8115, allocations: 89.11 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.8116, allocations: 81.06 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.8116, allocations: 3.938 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.315e-05/0.8116, allocations: 3.984 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.8116, allocations: 4 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.8116, allocations: 0 / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.498e-05/0.8117, allocations: 83.28 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8117, allocations: 4 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002557/0.8119, allocations: 35.92 kB / 1.278 GB, free: 15.75 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.000365/0.8123, allocations: 169.9 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.8124, allocations: 23.98 kB / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8124, allocations: 192 / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/0.8125, allocations: 19.94 kB / 1.278 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.8126, allocations: 3.984 kB / 1.278 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.8128, allocations: 120.8 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.8131, allocations: 0.6768 MB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.709e-05/0.8131, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.8132, allocations: 11.44 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8132, allocations: 0 / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.003716/0.8169, allocations: 1.035 MB / 1.28 GB, free: 13.65 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 gbode -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: 8.689903960097581]