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.001466/0.001466, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001644/0.001644, allocations: 168.2 kB / 22.46 MB, free: 5.379 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.51/1.51, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.798/2.798, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.056e-06/3.056e-06, allocations: 0 / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.642e-05/3.948e-05, allocations: 6.281 kB / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.003944/0.003983, allocations: 1.242 MB / 0.9521 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.005297, allocations: 394.6 kB / 0.9525 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.005345, allocations: 0 / 0.9525 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.005381, allocations: 7.922 kB / 0.9525 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-05/0.005432, allocations: 4 kB / 0.9525 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009267/0.006359, allocations: 119.4 kB / 0.9526 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.006476, allocations: 19.92 kB / 0.9527 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.006525, allocations: 4 kB / 0.9527 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.71e-05/0.006572, allocations: 8 kB / 0.9527 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.006615, allocations: 7.984 kB / 0.9527 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.006635, allocations: 0 / 0.9527 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.007086, allocations: 127.7 kB / 0.9528 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.007114, allocations: 7.984 kB / 0.9528 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.007166, allocations: 11.92 kB / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.007566, allocations: 115.7 kB / 0.9529 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.00757, allocations: 0 / 0.9529 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.007572, allocations: 3.938 kB / 0.9529 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.007585, allocations: 0 / 0.9529 GB, free: 9.547 MB / 0.8575 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.0007499/0.008335, allocations: 307.8 kB / 0.9532 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.008384, allocations: 8.031 kB / 0.9532 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.008431, allocations: 0.9375 kB / 0.9532 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.008585, allocations: 109.8 kB / 0.9533 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.008615, allocations: 4.375 kB / 0.9533 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.008638, allocations: 8.375 kB / 0.9534 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.008785, allocations: 34.25 kB / 0.9534 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.008799, allocations: 192 / 0.9534 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.008812, allocations: 4.312 kB / 0.9534 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.008817, allocations: 4.375 kB / 0.9534 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.008867, allocations: 11.86 kB / 0.9534 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.009088, allocations: 101.3 kB / 0.9535 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.009209, allocations: 31.25 kB / 0.9535 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.009255, allocations: 8.859 kB / 0.9535 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.009273, allocations: 4 kB / 0.9535 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.00948, allocations: 63.47 kB / 0.9536 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.009482, allocations: 0 / 0.9536 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003146/0.009796, allocations: 69.61 kB / 0.9537 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.009856, allocations: 59.41 kB / 0.9537 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.009974, allocations: 97.8 kB / 0.9538 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.01002, allocations: 33.69 kB / 0.9539 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.01007, allocations: 80.14 kB / 0.9539 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.01011, allocations: 15.84 kB / 0.9539 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.01017, allocations: 17.72 kB / 0.954 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000256/0.01042, allocations: 322.8 kB / 0.9543 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.197e-05/0.01046, allocations: 8 kB / 0.9543 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.01057, allocations: 43.41 kB / 0.9543 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/0.01067, allocations: 43.38 kB / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01067, allocations: 0 / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001784/0.01085, allocations: 69.56 kB / 0.9544 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.01087, allocations: 4 kB / 0.9544 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.01088, allocations: 4.094 kB / 0.9544 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.0109, allocations: 4 kB / 0.9544 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.962e-05/0.01099, allocations: 11.98 kB / 0.9544 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.011, allocations: 3.938 kB / 0.9545 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.01103, allocations: 0 / 0.9545 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.01105, allocations: 4 kB / 0.9545 GB, free: 7.781 MB / 0.8575 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.0001419/0.01119, allocations: 117.8 kB / 0.9546 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.01121, allocations: 3.953 kB / 0.9546 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.01124, allocations: 3.688 kB / 0.9546 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.01124, allocations: 7.938 kB / 0.9546 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01125, allocations: 4 kB / 0.9546 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.01126, allocations: 7.922 kB / 0.9546 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.01151, allocations: 109.3 kB / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01151, allocations: 0 / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-05/0.01153, allocations: 0 / 0.9547 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.01153, allocations: 4 kB / 0.9547 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.01154, allocations: 3.984 kB / 0.9547 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01155, allocations: 0 / 0.9547 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01155, allocations: 0 / 0.9547 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.01175, allocations: 85.06 kB / 0.9548 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.01177, allocations: 8.406 kB / 0.9548 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.01179, allocations: 4 kB / 0.9548 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.182e-05/0.01182, allocations: 4 kB / 0.9548 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.01187, allocations: 3.938 kB / 0.9548 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.01187, allocations: 0 / 0.9548 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.722e-05/0.01196, allocations: 95.19 kB / 0.9549 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.01196, allocations: 0 / 0.9549 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004387/0.0124, allocations: 31.88 kB / 0.9549 GB, free: 7.234 MB / 0.8575 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.0006018/0.013, allocations: 164.5 kB / 0.9551 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.01316, allocations: 27.92 kB / 0.9551 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01316, allocations: 0 / 0.9551 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.295e-05/0.01323, allocations: 19.92 kB / 0.9551 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.01345, allocations: 0 / 0.9551 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.01381, allocations: 105 kB / 0.9552 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.525e-05/0.01388, allocations: 59.34 kB / 0.9553 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.599e-05/0.01391, allocations: 4.188 kB / 0.9553 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.01393, allocations: 12.5 kB / 0.9553 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of SimCode: time 3.7e-07/0.01394, allocations: 3.938 kB / 0.9553 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of Templates: time 0.006156/0.02009, allocations: 1.068 MB / 0.9564 GB, free: 5.746 MB / 0.8575 GB " [Timeout remaining time 300] 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: 8.141815856099129]