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.007236/0.007236, allocations: 102.7 kB / 15.73 MB, free: 6.445 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.001605/0.001605, allocations: 195.7 kB / 16.68 MB, free: 6.355 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.98/2.98, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.91 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2933, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002923/0.2962, allocations: 1.213 MB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2973, allocations: 414.6 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.2974, allocations: 0 / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.2974, allocations: 3.938 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.848e-05/0.2975, allocations: 0 / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.2981, allocations: 99.66 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.429e-05/0.2982, allocations: 27.91 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.2983, allocations: 4 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.2983, allocations: 15.92 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.709e-05/0.2983, allocations: 4 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.2984, allocations: 0 / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.2986, allocations: 99.89 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.2986, allocations: 7.938 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.2987, allocations: 7.984 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.2989, allocations: 95.75 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2989, allocations: 0 / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2989, allocations: 0 / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.2989, allocations: 0 / 1.21 GB, free: 7.621 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.0005251/0.2994, allocations: 395.3 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2995, allocations: 8.625 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.2995, allocations: 8.875 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2996, allocations: 160.4 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.2997, allocations: 384 / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.2997, allocations: 4.375 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.2998, allocations: 34.25 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2998, allocations: 192 / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.2998, allocations: 15.92 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2998, allocations: 4 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.792e-05/0.2999, allocations: 3.938 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.3, allocations: 157.7 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.644e-05/0.3001, allocations: 30.61 kB / 1.21 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.3002, allocations: 12.86 kB / 1.21 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.3002, allocations: 0 / 1.21 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.3003, allocations: 67.42 kB / 1.21 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3003, allocations: 0 / 1.21 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002323/0.3006, allocations: 73.52 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3006, allocations: 55.39 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.3007, allocations: 101.9 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3007, allocations: 25.7 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.3008, allocations: 84.14 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.3008, allocations: 15.89 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.3008, allocations: 17.72 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.301, allocations: 314.8 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.301, allocations: 7.984 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.301, allocations: 35.38 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.129e-05/0.3011, allocations: 47.42 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3011, allocations: 4 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001007/0.3012, allocations: 65.47 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.3012, allocations: 11.94 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3012, allocations: 0 / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3013, allocations: 0 / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.3013, allocations: 12 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3013, allocations: 8.188 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.3014, allocations: 7.984 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3014, allocations: 0 / 1.211 GB, free: 5.613 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 7.822e-05/0.3015, allocations: 125.7 kB / 1.211 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.3015, allocations: 3.938 kB / 1.211 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.3015, allocations: 7.5 kB / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3015, allocations: 0 / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3015, allocations: 0 / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3015, allocations: 0 / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.3017, allocations: 157.7 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3017, allocations: 3.938 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.674e-05/0.3017, allocations: 7.984 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3017, allocations: 3.938 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3017, allocations: 0 / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3017, allocations: 0 / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3017, allocations: 0 / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.3019, allocations: 89.02 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.3019, allocations: 85.05 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3019, allocations: 3.938 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.087e-05/0.302, allocations: 0 / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.302, allocations: 4 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.302, allocations: 0 / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.302, allocations: 87.73 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.91e-07/0.302, allocations: 0 / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002521/0.3023, allocations: 28 kB / 1.212 GB, free: 4.922 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.0003326/0.3026, allocations: 164.2 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.3028, allocations: 27.92 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3028, allocations: 3.938 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.3028, allocations: 15.98 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.3029, allocations: 3.938 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.3032, allocations: 119.9 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.3034, allocations: 0.6845 MB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.3035, allocations: 4 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.3035, allocations: 7.438 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.3035, allocations: 0 / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of Templates: time 0.003229/0.3067, allocations: 1.05 MB / 1.214 GB, free: 2.805 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