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) 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.1.0-maint.11.x/package.mo", uses=false) 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=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.006757/0.006757, allocations: 99.38 kB / 15.73 MB, free: 6.059 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.001466/0.001466, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 75.83 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.366, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002279/0.3683, allocations: 1.226 MB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007796/0.3691, allocations: 412.4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.3691, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.3691, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.766e-05/0.3691, allocations: 7.938 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.3696, allocations: 103.6 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.25e-05/0.3697, allocations: 19.98 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.3697, allocations: 0 / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.3698, allocations: 11.88 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.05e-05/0.3698, allocations: 15.97 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.3698, allocations: 0 / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.37, allocations: 95.91 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.37, allocations: 7.922 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.3701, allocations: 8 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.3702, allocations: 99.69 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3702, allocations: 0 / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3702, allocations: 0 / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3702, allocations: 4 kB / 1.223 GB, free: 11.84 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.0006262/0.3709, allocations: 384.8 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.3709, allocations: 8.031 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.3709, allocations: 8.875 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.3711, allocations: 164.4 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.3711, allocations: 8.375 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3711, allocations: 4.375 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.646e-05/0.3712, allocations: 34.25 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.3712, allocations: 192 / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3712, allocations: 3.938 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3713, allocations: 0 / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.22e-05/0.3713, allocations: 11.92 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.3714, allocations: 157.7 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.608e-05/0.3715, allocations: 26.58 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.3716, allocations: 16.98 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.3716, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.3717, allocations: 55.34 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3717, allocations: 0 / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.3719, allocations: 73.55 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.3719, allocations: 55.41 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.859e-05/0.372, allocations: 105.8 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.372, allocations: 29.7 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.372, allocations: 80.14 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.372, allocations: 11.89 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.3721, allocations: 25.7 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3722, allocations: 310.8 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.3722, allocations: 11.98 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.3723, allocations: 35.42 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.637e-05/0.3724, allocations: 47.75 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3724, allocations: 0 / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.565e-05/0.3725, allocations: 77.59 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3725, allocations: 15.91 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3725, allocations: 0 / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3725, allocations: 4 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.77e-05/0.3726, allocations: 4 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3726, allocations: 4 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.381e-05/0.3726, allocations: 3.953 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3726, allocations: 4 kB / 1.224 GB, free: 9.836 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.0001025/0.3727, allocations: 114.5 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.3727, allocations: 7.938 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.3727, allocations: 7.5 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3727, allocations: 3.938 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3727, allocations: 0 / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3728, allocations: 0 / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.3729, allocations: 153.7 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3729, allocations: 0 / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.3729, allocations: 4 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3729, allocations: 3.938 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3729, allocations: 3.984 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3729, allocations: 7.984 kB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3729, allocations: 4 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.373, allocations: 81.12 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.3731, allocations: 85.05 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.3731, allocations: 7.938 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.3731, allocations: 0 / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.3731, allocations: 4 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3731, allocations: 0 / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.3732, allocations: 87.27 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3732, allocations: 7.875 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002364/0.3734, allocations: 35.88 kB / 1.225 GB, free: 9.133 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.0003065/0.3737, allocations: 157.3 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.3738, allocations: 23.98 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.3738, allocations: 8.125 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.3738, allocations: 15.98 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.374, allocations: 1.875 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.3742, allocations: 112.8 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.3745, allocations: 0.6768 MB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.793e-05/0.3745, allocations: 4.25 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.3746, allocations: 7.438 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3746, allocations: 0 / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of Templates: time 0.00338/0.3779, allocations: 1.035 MB / 1.227 GB, free: 7.047 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) 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) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y