Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001041/0.001041, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009807/0.0009808, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.542/2.542, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003885, allocations: 11.94 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8418/0.8422, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001084/0.8433, allocations: 0.9257 MB / 0.9544 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006088/0.8439, allocations: 372 kB / 0.9548 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.847e-05/0.8439, allocations: 0 / 0.9548 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.844, allocations: 3.938 kB / 0.9548 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.223e-05/0.844, allocations: 5.016 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.8444, allocations: 70.08 kB / 0.9548 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.597e-05/0.8444, allocations: 7.719 kB / 0.9548 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.8445, allocations: 9 kB / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/0.8445, allocations: 7.594 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.645e-05/0.8446, allocations: 7.469 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.8446, allocations: 0 / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.8447, allocations: 65.95 kB / 0.9549 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.8447, allocations: 7.984 kB / 0.9549 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.8448, allocations: 32.52 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.8449, allocations: 52.02 kB / 0.955 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.8449, allocations: 0 / 0.955 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8449, allocations: 4 kB / 0.955 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.8449, allocations: 0 / 0.955 GB, free: 6.898 MB / 0.7169 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.0003391/0.8453, allocations: 345.8 kB / 0.9554 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.8453, allocations: 10.03 kB / 0.9554 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.8453, allocations: 4.922 kB / 0.9554 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.846e-05/0.8454, allocations: 162.2 kB / 0.9555 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.8454, allocations: 0.8438 kB / 0.9555 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.8455, allocations: 2.219 kB / 0.9555 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.194e-05/0.8456, allocations: 42.59 kB / 0.9556 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.8456, allocations: 0 / 0.9556 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.8456, allocations: 8.781 kB / 0.9556 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.8456, allocations: 0 / 0.9556 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.8456, allocations: 11.05 kB / 0.9556 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.8457, allocations: 153.8 kB / 0.9557 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.054e-05/0.8458, allocations: 30.33 kB / 0.9558 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.8458, allocations: 0 / 0.9558 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.8459, allocations: 56 kB / 0.9558 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.846, allocations: 0 / 0.9558 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001709/0.8461, allocations: 69.42 kB / 0.9559 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.8462, allocations: 52.72 kB / 0.9559 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.597e-05/0.8462, allocations: 96.08 kB / 0.956 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.8462, allocations: 26.89 kB / 0.956 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.482e-05/0.8462, allocations: 85.36 kB / 0.9561 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.8463, allocations: 17.17 kB / 0.9561 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.8463, allocations: 0 / 0.9561 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.979e-05/0.8463, allocations: 320.9 kB / 0.9564 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.8463, allocations: 7.406 kB / 0.9565 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.8464, allocations: 34.75 kB / 0.9565 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.638e-05/0.8464, allocations: 18.19 kB / 0.9565 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8464, allocations: 1.062 kB / 0.9565 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.529e-05/0.8465, allocations: 63.41 kB / 0.9566 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.8465, allocations: 5.312 kB / 0.9566 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8465, allocations: 6.141 kB / 0.9566 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.8466, allocations: 5.125 kB / 0.9566 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.8466, allocations: 6.406 kB / 0.9566 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.8466, allocations: 5.031 kB / 0.9566 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.8467, allocations: 10.09 kB / 0.9566 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.8467, allocations: 6.031 kB / 0.9566 GB, free: 5.188 MB / 0.7169 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/0.8467, allocations: 117.2 kB / 0.9567 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.8468, allocations: 0.9062 kB / 0.9567 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.8468, allocations: 11.48 kB / 0.9567 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.8468, allocations: 1.062 kB / 0.9567 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.8468, allocations: 1.031 kB / 0.9567 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.8468, allocations: 0 / 0.9567 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.406e-05/0.8469, allocations: 157.8 kB / 0.9569 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8469, allocations: 4 kB / 0.9569 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.8469, allocations: 1.844 kB / 0.9569 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.8469, allocations: 0 / 0.9569 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.8469, allocations: 0.9375 kB / 0.9569 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.8469, allocations: 0.9375 kB / 0.9569 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8469, allocations: 0 / 0.9569 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.533e-05/0.847, allocations: 94.2 kB / 0.957 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.8471, allocations: 83.05 kB / 0.9571 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.8471, allocations: 4 kB / 0.9571 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.904e-05/0.8471, allocations: 0.7812 kB / 0.9571 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.8471, allocations: 5.266 kB / 0.9571 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.8472, allocations: 2.312 kB / 0.9571 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.75e-05/0.8472, allocations: 76.5 kB / 0.9571 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8472, allocations: 0 / 0.9571 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002616/0.8474, allocations: 28.12 kB / 0.9572 GB, free: 4.57 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002778/0.8477, allocations: 155.5 kB / 0.9573 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.889e-05/0.8478, allocations: 32.14 kB / 0.9574 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.8478, allocations: 0.9062 kB / 0.9574 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.524e-05/0.8479, allocations: 15.95 kB / 0.9574 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.92e-05/0.848, allocations: 5.828 kB / 0.9574 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.8482, allocations: 115.4 kB / 0.9575 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.085e-05/0.8483, allocations: 0.6833 MB / 0.9582 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.073e-05/0.8483, allocations: 1.094 kB / 0.9582 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.8483, allocations: 10.03 kB / 0.9582 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8483, allocations: 0 / 0.9582 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of Templates: time 0.002917/0.8513, allocations: 0.9398 MB / 0.9591 GB, free: 3.094 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","../files/Buildings_9_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