Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009545/0.009545, allocations: 107.4 kB / 15.74 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 196.9 kB / 16.67 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.05 kB / 0.9508 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2962, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002361/0.2986, allocations: 1.207 MB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008784/0.2995, allocations: 419 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.2995, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.2996, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.529e-05/0.2996, allocations: 3.938 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.3002, allocations: 111.6 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.111e-05/0.3003, allocations: 12 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.3004, allocations: 3.984 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.301e-05/0.3004, allocations: 11.88 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.306e-05/0.3005, allocations: 11.98 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.3005, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.3007, allocations: 103.9 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.3007, allocations: 3.938 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.3008, allocations: 11.98 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.301, allocations: 95.75 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.301, allocations: 4 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.301, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3011, allocations: 0 / 1.09 GB, free: 15.56 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.0005127/0.3016, allocations: 377.1 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3016, allocations: 8.031 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.3017, allocations: 12.84 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.3018, allocations: 164.4 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.3018, allocations: 4.375 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.3019, allocations: 8.359 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.302, allocations: 35.67 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.302, allocations: 192 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.302, allocations: 3.938 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.302, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.74e-05/0.3021, allocations: 7.938 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.3022, allocations: 165.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.352e-05/0.3023, allocations: 22.58 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.3023, allocations: 12.95 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.3024, allocations: 7.984 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.3025, allocations: 55.41 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3025, allocations: 4 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002304/0.3028, allocations: 73.55 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.3028, allocations: 51.41 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.3029, allocations: 105.8 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3029, allocations: 29.7 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.303, allocations: 80.14 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.303, allocations: 7.906 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.303, allocations: 21.72 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.3031, allocations: 322.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.3032, allocations: 8 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.853e-05/0.3032, allocations: 31.42 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.864e-05/0.3033, allocations: 43.38 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3033, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001047/0.3034, allocations: 69.56 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3034, allocations: 11.88 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3034, allocations: 4 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3035, allocations: 4.406 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.3035, allocations: 8 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3035, allocations: 160 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.3036, allocations: 3.938 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.3036, allocations: 11.98 kB / 1.092 GB, free: 13.56 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 7.174e-05/0.3037, allocations: 113.9 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.3037, allocations: 7.844 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.3037, allocations: 15.47 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3037, allocations: 7.938 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3037, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3038, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.3039, allocations: 153.7 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3039, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/0.3039, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3039, allocations: 11.94 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3039, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3039, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3039, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.3041, allocations: 85.11 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.3041, allocations: 85.02 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.3041, allocations: 3.938 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.042e-05/0.3042, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.3042, allocations: 7.984 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3042, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.976e-05/0.3042, allocations: 79.28 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3042, allocations: 3.938 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002487/0.3045, allocations: 31.98 kB / 1.092 GB, free: 12.86 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.0003468/0.3049, allocations: 171.3 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.305, allocations: 36.17 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.305, allocations: 3.938 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.305, allocations: 12.08 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.3052, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.3054, allocations: 105 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.3057, allocations: 0.6768 MB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.37e-05/0.3057, allocations: 8.188 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.3057, allocations: 7.438 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.3057, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of Templates: time 0.003377/0.3091, allocations: 1.035 MB / 1.094 GB, free: 10.76 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y