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.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.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.01056/0.01056, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001617/0.001618, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.76/2.76, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3158, allocations: 157.4 MB / 1.208 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002596/0.3184, allocations: 1.2 MB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.3194, allocations: 394.7 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.3195, allocations: 0 / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.3195, allocations: 3.938 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.571e-05/0.3196, allocations: 3.984 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.3203, allocations: 95.72 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.107e-05/0.3204, allocations: 19.92 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.3205, allocations: 3.984 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.3205, allocations: 7.938 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.85e-05/0.3205, allocations: 11.97 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.3205, allocations: 7.938 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.3208, allocations: 91.84 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.3208, allocations: 8 kB / 1.209 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.3208, allocations: 3.938 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.321, allocations: 79.88 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.321, allocations: 4 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.885e-06/0.321, allocations: 0 / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.321, allocations: 3.938 kB / 1.21 GB, free: 7.77 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.0004652/0.3215, allocations: 339.6 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3215, allocations: 16.03 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.3216, allocations: 4.844 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.3217, allocations: 164.4 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3217, allocations: 4.375 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3218, allocations: 384 / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.3219, allocations: 42.19 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3219, allocations: 192 / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3219, allocations: 3.938 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3219, allocations: 4 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.3219, allocations: 4 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.3221, allocations: 157.6 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.541e-05/0.3222, allocations: 30.61 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.3222, allocations: 8.859 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.3222, allocations: 0 / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.3224, allocations: 63.42 kB / 1.21 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3224, allocations: 0 / 1.21 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001897/0.3226, allocations: 65.62 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.3227, allocations: 63.39 kB / 1.211 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.275e-05/0.3227, allocations: 89.86 kB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3228, allocations: 29.7 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.3228, allocations: 84.14 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.3229, allocations: 3.906 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.3229, allocations: 25.83 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.323, allocations: 314.8 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.3231, allocations: 8 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.2e-05/0.3231, allocations: 39.36 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.303e-05/0.3232, allocations: 47.31 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3232, allocations: 0 / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00012/0.3234, allocations: 73.52 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3234, allocations: 7.938 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3234, allocations: 4 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3234, allocations: 0 / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.3235, allocations: 8.172 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3235, allocations: 4 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.843e-05/0.3236, allocations: 4 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3236, allocations: 8.094 kB / 1.211 GB, free: 5.832 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 9.722e-05/0.3237, allocations: 117.8 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.3237, allocations: 15.92 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.3237, allocations: 3.5 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3237, allocations: 0 / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3237, allocations: 0 / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3238, allocations: 0 / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.3239, allocations: 149.7 kB / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3239, allocations: 0 / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.3239, allocations: 12 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.3239, allocations: 3.938 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.324, allocations: 0 / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.324, allocations: 0 / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.324, allocations: 4 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.3241, allocations: 88.95 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.3242, allocations: 77.11 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.3242, allocations: 7.922 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/0.3242, allocations: 8 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.3243, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3243, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.555e-05/0.3243, allocations: 83.28 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3243, allocations: 0 / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002623/0.3246, allocations: 27.98 kB / 1.212 GB, free: 5.148 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.0003652/0.325, allocations: 170.3 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.3251, allocations: 27.92 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3251, allocations: 0 / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.511e-05/0.3251, allocations: 12.14 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.3253, allocations: 1.406 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/0.3256, allocations: 119.9 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.3258, allocations: 0.6808 MB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.3258, allocations: 4 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.3259, allocations: 11.44 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.3259, allocations: 0 / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of Templates: time 0.003546/0.3294, allocations: 0.9839 MB / 1.214 GB, free: 3.109 MB / 0.9669 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 -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/jenkins/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