Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001816/0.001816, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 60.31 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3007, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002222/0.303, allocations: 1.216 MB / 1.028 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008366/0.3038, allocations: 409.1 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.3038, allocations: 3.938 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.3039, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.095e-05/0.3039, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.3044, allocations: 99.66 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.177e-05/0.3045, allocations: 11.98 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.3046, allocations: 0 / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.445e-05/0.3046, allocations: 15.92 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.457e-05/0.3046, allocations: 8 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.3046, allocations: 0 / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.3048, allocations: 95.83 kB / 1.029 GB, free: 244 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.3048, allocations: 4 kB / 1.029 GB, free: 240 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.3049, allocations: 11.88 kB / 1.029 GB, free: 228 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.305, allocations: 79.81 kB / 1.029 GB, free: 148 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3051, allocations: 4 kB / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3051, allocations: 0 / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.3051, allocations: 0 / 1.029 GB, free: 144 kB / 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.0004325/0.3055, allocations: 347.6 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3055, allocations: 12.03 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.3056, allocations: 0.9375 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.522e-05/0.3057, allocations: 160.4 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3057, allocations: 4.375 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.3057, allocations: 4.312 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3058, allocations: 34.25 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3058, allocations: 192 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3059, allocations: 11.92 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3059, allocations: 0 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.3059, allocations: 8 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.306, allocations: 157.6 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.893e-05/0.3061, allocations: 30.61 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.3062, allocations: 12.8 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.3062, allocations: 0 / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.3063, allocations: 59.41 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3063, allocations: 0 / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001799/0.3065, allocations: 69.61 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3065, allocations: 59.34 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.768e-05/0.3066, allocations: 97.84 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.3066, allocations: 29.7 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.3067, allocations: 80.14 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.3067, allocations: 11.84 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.3067, allocations: 25.84 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.3068, allocations: 314.8 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.3069, allocations: 11.98 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.3069, allocations: 31.42 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.821e-05/0.307, allocations: 51.55 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.307, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.448e-05/0.3071, allocations: 65.62 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3071, allocations: 7.938 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3071, allocations: 4 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3071, allocations: 0 / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.85e-05/0.3072, allocations: 15.92 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3072, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.3072, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3073, allocations: 15.94 kB / 1.03 GB, free: 14.19 MB / 0.8106 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.169e-05/0.3073, allocations: 113.8 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.3074, allocations: 3.938 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.3074, allocations: 7.5 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3074, allocations: 3.984 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3074, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3074, allocations: 4 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.3075, allocations: 145.7 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.3075, allocations: 8 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.409e-05/0.3076, allocations: 4 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3076, allocations: 3.938 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3076, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3076, allocations: 0 / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3076, allocations: 4 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.3077, allocations: 89.05 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.3078, allocations: 81.02 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.3078, allocations: 3.938 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.3078, allocations: 8 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.3078, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3078, allocations: 3.984 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.357e-05/0.3079, allocations: 79.28 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.342e-06/0.3079, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002469/0.3081, allocations: 31.94 kB / 1.031 GB, free: 13.5 MB / 0.8106 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.0003109/0.3085, allocations: 171.3 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.916e-05/0.3086, allocations: 31.92 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3086, allocations: 0 / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.941e-05/0.3086, allocations: 11.98 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.3088, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.309, allocations: 101 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.3092, allocations: 0.6808 MB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.3092, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.3093, allocations: 11.44 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3093, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of Templates: time 0.003056/0.3123, allocations: 0.9596 MB / 1.033 GB, free: 11.5 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y