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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 180.7 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.783/1.783, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008795/0.0008794, allocations: 103.6 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.744e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2587, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8764/1.135, allocations: 148.7 MB / 1.351 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/1.135, allocations: 73.94 kB / 1.351 GB, free: 18.18 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/exponentialVariableGeneration.mo:11:5-11:98:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.006014/1.141, allocations: 2.053 MB / 1.353 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.064e-06/1.141, allocations: 1.391 kB / 1.353 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.382e-06/1.141, allocations: 3.906 kB / 1.353 GB, free: 33.8 MB / 0.8386 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.0003132/1.142, allocations: 347.6 kB / 1.354 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.142, allocations: 12.89 kB / 1.354 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/1.142, allocations: 0.7812 kB / 1.354 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.578e-05/1.142, allocations: 171.7 kB / 1.354 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/1.142, allocations: 0.7969 kB / 1.354 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/1.142, allocations: 3.812 kB / 1.354 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.538e-05/1.142, allocations: 4.547 kB / 1.354 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.64e-05/1.142, allocations: 36.94 kB / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/1.142, allocations: 4 kB / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/1.142, allocations: 0 / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.142, allocations: 0 / 1.354 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001134/1.142, allocations: 137.8 kB / 1.354 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.101e-05/1.142, allocations: 31.33 kB / 1.354 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/1.142, allocations: 16.44 kB / 1.354 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/1.142, allocations: 0.6094 kB / 1.354 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.451e-05/1.142, allocations: 59.47 kB / 1.354 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/1.142, allocations: 0 / 1.354 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001629/1.143, allocations: 53.14 kB / 1.354 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/1.143, allocations: 51.41 kB / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.034e-05/1.143, allocations: 94.22 kB / 1.354 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/1.143, allocations: 25.7 kB / 1.354 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/1.143, allocations: 84.27 kB / 1.354 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/1.143, allocations: 12.08 kB / 1.354 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/1.143, allocations: 0 / 1.354 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/1.143, allocations: 320.2 kB / 1.355 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/1.143, allocations: 7.125 kB / 1.355 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.529e-05/1.143, allocations: 33.25 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.297e-05/1.143, allocations: 13.22 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.143, allocations: 0 / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.839e-05/1.143, allocations: 64.72 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.143, allocations: 8.547 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.143, allocations: 0 / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.143, allocations: 0 / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/1.143, allocations: 9.062 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.143, allocations: 3.938 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.558e-05/1.143, allocations: 4.594 kB / 1.355 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/1.143, allocations: 5.875 kB / 1.355 GB, free: 32.23 MB / 0.8386 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 () * 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 6.49e-05/1.143, allocations: 112.5 kB / 1.355 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.333e-05/1.143, allocations: 58.03 kB / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-06/1.143, allocations: 0 / 1.355 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/1.143, allocations: 8.578 kB / 1.355 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.143, allocations: 3.844 kB / 1.355 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.143, allocations: 0.6094 kB / 1.355 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/1.143, allocations: 0 / 1.355 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.705e-05/1.144, allocations: 133.3 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.144, allocations: 8.5 kB / 1.355 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/1.144, allocations: 0 / 1.355 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.144, allocations: 4.641 kB / 1.355 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/1.144, allocations: 0.5156 kB / 1.355 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.144, allocations: 5.188 kB / 1.355 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.144, allocations: 4.594 kB / 1.355 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.974e-05/1.144, allocations: 81.86 kB / 1.355 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/1.144, allocations: 81.81 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/1.144, allocations: 7.672 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.848e-05/1.144, allocations: 3.875 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/1.144, allocations: 1.312 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-06/1.144, allocations: 0.5156 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.118e-05/1.144, allocations: 79.69 kB / 1.355 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.144, allocations: 0 / 1.355 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002333/1.144, allocations: 41.06 kB / 1.356 GB, free: 31.64 MB / 0.8386 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 () * 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.0005402/1.145, allocations: 0.701 MB / 1.356 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.069e-05/1.145, allocations: 24.12 kB / 1.356 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.145, allocations: 0 / 1.356 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-05/1.145, allocations: 14.75 kB / 1.356 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.024e-05/1.145, allocations: 5.234 kB / 1.356 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/1.145, allocations: 111.4 kB / 1.356 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/1.145, allocations: 0.6767 MB / 1.357 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.393e-05/1.145, allocations: 4.609 kB / 1.357 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/1.145, allocations: 8.141 kB / 1.357 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.145, allocations: 0 / 1.357 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/1.164, allocations: 1.524 MB / 1.359 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/1.164, allocations: 199.3 kB / 1.359 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.671, allocations: 0 / 1.359 GB, free: 29.85 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat does not exist to compare? outputFormat=mat