Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.00163/0.001635, allocations: 107.2 kB / 16.27 MB, free: 6.414 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.001835/0.001835, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437 MB / 0.711 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.92 kB / 0.8699 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2966, allocations: 151.6 MB / 1.018 GB, free: 10.71 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002403/0.299, allocations: 1.213 MB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008516/0.2999, allocations: 428.1 kB / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.2999, allocations: 0 / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.2999, allocations: 0 / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.284e-05/0.3, allocations: 3.938 kB / 1.02 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.3006, allocations: 107.6 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.212e-05/0.3007, allocations: 11.98 kB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.3007, allocations: 3.938 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.473e-05/0.3008, allocations: 11.94 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.057e-05/0.3008, allocations: 11.98 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.3008, allocations: 0 / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.301, allocations: 99.91 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.3011, allocations: 7.922 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.3011, allocations: 7.984 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.3013, allocations: 99.75 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3013, allocations: 0 / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3013, allocations: 0 / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3013, allocations: 0 / 1.02 GB, free: 8.707 MB / 0.795 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.0004948/0.3018, allocations: 389.3 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3019, allocations: 8.625 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.3019, allocations: 8.844 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.302, allocations: 164.4 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.302, allocations: 384 / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.3021, allocations: 4.375 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.3022, allocations: 38.25 kB / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3022, allocations: 192 / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3022, allocations: 3.938 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3022, allocations: 0 / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.154e-05/0.3023, allocations: 7.938 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.3024, allocations: 161.7 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.686e-05/0.3025, allocations: 34.5 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.3026, allocations: 16.94 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.3026, allocations: 0 / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.3027, allocations: 55.41 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3027, allocations: 0 / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002114/0.303, allocations: 73.55 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.303, allocations: 51.41 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.3031, allocations: 105.8 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3031, allocations: 29.7 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.3031, allocations: 80.14 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.3032, allocations: 7.812 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.3032, allocations: 21.72 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3033, allocations: 322.8 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.3034, allocations: 4 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/0.3034, allocations: 35.42 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.29e-05/0.3035, allocations: 47.38 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3035, allocations: 0 / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001132/0.3036, allocations: 69.56 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3036, allocations: 11.94 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3036, allocations: 7.922 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3036, allocations: 0 / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.3037, allocations: 8 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3037, allocations: 0 / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.3038, allocations: 4 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3038, allocations: 4.094 kB / 1.022 GB, free: 6.711 MB / 0.795 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 9.474e-05/0.3039, allocations: 120.2 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.3039, allocations: 7.844 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.304, allocations: 15.42 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.304, allocations: 4 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.304, allocations: 0 / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.304, allocations: 0 / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.3041, allocations: 153.7 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3041, allocations: 0 / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.3041, allocations: 4 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3042, allocations: 7.938 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3042, allocations: 0 / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3042, allocations: 0 / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3042, allocations: 0 / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.3043, allocations: 81.53 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3044, allocations: 85.14 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.3044, allocations: 3.938 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.525e-05/0.3044, allocations: 7.984 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.3044, allocations: 7.938 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3045, allocations: 4 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.3045, allocations: 83.22 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3045, allocations: 0 / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002558/0.3048, allocations: 31.98 kB / 1.022 GB, free: 6.008 MB / 0.795 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.0003274/0.3051, allocations: 166.2 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3052, allocations: 31.92 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3052, allocations: 0 / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.3053, allocations: 12 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.3054, allocations: 3.984 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.3057, allocations: 138.7 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.3059, allocations: 0.6808 MB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.3059, allocations: 11.44 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3059, allocations: 0 / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of Templates: time 0.002943/0.3089, allocations: 1.21 MB / 1.024 GB, free: 3.703 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches