Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.009958/0.009958, allocations: 107 kB / 15.74 MB, free: 6.051 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.001637/0.001637, allocations: 189.6 kB / 16.67 MB, free: 5.98 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 461.8 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 59.91 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3015, allocations: 157.4 MB / 1.208 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001985/0.3035, allocations: 1.225 MB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007411/0.3043, allocations: 414.6 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.3043, allocations: 0 / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.051e-05/0.3043, allocations: 4 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.3044, allocations: 3.938 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.3049, allocations: 99.66 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.625e-05/0.3049, allocations: 23.97 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.305, allocations: 4 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.344e-05/0.305, allocations: 11.92 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.639e-05/0.305, allocations: 4 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.3051, allocations: 4 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.3052, allocations: 99.83 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.3053, allocations: 7.938 kB / 1.21 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.3053, allocations: 4 kB / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.3055, allocations: 95.8 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3055, allocations: 0 / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3055, allocations: 4 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3055, allocations: 0 / 1.21 GB, free: 7.723 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.0004371/0.306, allocations: 386.1 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.306, allocations: 12.62 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.3061, allocations: 0.9375 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.988e-05/0.3062, allocations: 164.3 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.3062, allocations: 8.375 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.3062, allocations: 384 / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.149e-05/0.3063, allocations: 42.25 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3063, allocations: 192 / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3063, allocations: 11.86 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3063, allocations: 0 / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.031e-05/0.3064, allocations: 8 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.3065, allocations: 153.7 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.25e-05/0.3066, allocations: 30.55 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.3066, allocations: 12.86 kB / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.3067, allocations: 4 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.3068, allocations: 59.47 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.3068, allocations: 0 / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001821/0.307, allocations: 73.47 kB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.307, allocations: 59.39 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.592e-05/0.3071, allocations: 98.05 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.3071, allocations: 29.7 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.3071, allocations: 80.14 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.3072, allocations: 15.89 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.3072, allocations: 17.72 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.3073, allocations: 310.8 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.3073, allocations: 15.98 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.3074, allocations: 27.44 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.719e-05/0.3074, allocations: 55.53 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3074, allocations: 0 / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.455e-05/0.3075, allocations: 69.53 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3076, allocations: 9.5 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.3076, allocations: 0 / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3076, allocations: 12.03 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.3077, allocations: 7.938 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3077, allocations: 4 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.3077, allocations: 7.984 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3077, allocations: 4 kB / 1.211 GB, free: 5.715 MB / 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 6.485e-05/0.3078, allocations: 109.8 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.3078, allocations: 7.938 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/0.3078, allocations: 7.5 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3078, allocations: 4 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3078, allocations: 4 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3078, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.796e-05/0.3079, allocations: 149.7 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.308, allocations: 0 / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.444e-05/0.308, allocations: 11.92 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.308, allocations: 3.938 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.308, allocations: 4 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.308, allocations: 0 / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.308, allocations: 0 / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.3081, allocations: 96.95 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.3082, allocations: 77.11 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.3082, allocations: 3.938 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.305e-05/0.3082, allocations: 0 / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.3082, allocations: 4 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3082, allocations: 0 / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.555e-05/0.3083, allocations: 83.27 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3083, allocations: 0 / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002362/0.3085, allocations: 32 kB / 1.212 GB, free: 5.031 MB / 0.9669 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.000293/0.3088, allocations: 162.4 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.3089, allocations: 31.86 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3089, allocations: 0 / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/0.309, allocations: 15.92 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.3091, allocations: 13.59 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.3094, allocations: 112.8 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.3096, allocations: 0.6768 MB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.814e-05/0.3096, allocations: 4 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.3096, allocations: 7.438 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3096, allocations: 4 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of Templates: time 0.003135/0.3128, allocations: 1.035 MB / 1.214 GB, free: 2.93 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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