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.1-maint.9.1.x/package.mo", uses=false) 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) 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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001277/0.001277, allocations: 168.7 kB / 15.95 MB, free: 204 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.483/1.483, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003994, allocations: 12 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8418/0.8422, allocations: 142.3 MB / 0.9538 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001201/0.8435, allocations: 0.9285 MB / 0.9547 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006873/0.8442, allocations: 373.1 kB / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.8442, allocations: 0 / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.8442, allocations: 0.9688 kB / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.498e-05/0.8443, allocations: 4 kB / 0.9551 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.8447, allocations: 76.84 kB / 0.9552 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.974e-05/0.8448, allocations: 9.516 kB / 0.9552 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.8448, allocations: 1.625 kB / 0.9552 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.8448, allocations: 6.719 kB / 0.9552 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.749e-05/0.8449, allocations: 11.11 kB / 0.9552 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.8449, allocations: 1.125 kB / 0.9552 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.8451, allocations: 83.16 kB / 0.9553 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.8451, allocations: 4.969 kB / 0.9553 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.8452, allocations: 27.61 kB / 0.9553 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.8453, allocations: 67.58 kB / 0.9554 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.8453, allocations: 0 / 0.9554 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8453, allocations: 0 / 0.9554 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.8453, allocations: 0 / 0.9554 GB, free: 6.906 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.000371/0.8457, allocations: 339.5 kB / 0.9557 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8457, allocations: 9.938 kB / 0.9557 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.528e-05/0.8458, allocations: 34.55 kB / 0.9557 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.8458, allocations: 5.453 kB / 0.9558 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.114e-05/0.8459, allocations: 166.8 kB / 0.9559 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.8459, allocations: 5.312 kB / 0.9559 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.846, allocations: 2.906 kB / 0.9559 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.8461, allocations: 43.11 kB / 0.956 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.8461, allocations: 0 / 0.956 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.8461, allocations: 7.984 kB / 0.956 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.8461, allocations: 1.5 kB / 0.956 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.879e-05/0.8461, allocations: 7.953 kB / 0.956 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.8464, allocations: 247.5 kB / 0.9562 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.55e-05/0.8465, allocations: 33.72 kB / 0.9562 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.8465, allocations: 18.95 kB / 0.9563 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.8465, allocations: 1.594 kB / 0.9563 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.8467, allocations: 56.86 kB / 0.9563 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.8467, allocations: 4 kB / 0.9563 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001946/0.8469, allocations: 75.83 kB / 0.9564 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.8469, allocations: 52.66 kB / 0.9564 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/0.847, allocations: 104.5 kB / 0.9565 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.847, allocations: 31.08 kB / 0.9566 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.099e-05/0.847, allocations: 84.08 kB / 0.9567 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.8471, allocations: 14.25 kB / 0.9567 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-06/0.8471, allocations: 1 kB / 0.9567 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.8472, allocations: 320 kB / 0.957 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.8472, allocations: 8.484 kB / 0.957 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.8472, allocations: 39.97 kB / 0.957 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.8473, allocations: 11.19 kB / 0.957 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8473, allocations: 0 / 0.957 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001103/0.8474, allocations: 74.53 kB / 0.9571 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.8474, allocations: 9.438 kB / 0.9571 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8474, allocations: 1.281 kB / 0.9571 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.8475, allocations: 4.984 kB / 0.9571 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.8475, allocations: 12.3 kB / 0.9571 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.8475, allocations: 1.156 kB / 0.9571 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.8476, allocations: 5.125 kB / 0.9571 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.8476, allocations: 3.25 kB / 0.9571 GB, free: 5.043 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.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.156e-05/0.8477, allocations: 107.9 kB / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-06/0.8477, allocations: 6.25 kB / 0.9572 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.8477, allocations: 11.55 kB / 0.9573 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8477, allocations: 1.062 kB / 0.9573 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8477, allocations: 5.016 kB / 0.9573 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.8478, allocations: 0 / 0.9573 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.848, allocations: 296.4 kB / 0.9575 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.848, allocations: 1.094 kB / 0.9575 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.848, allocations: 3.438 kB / 0.9576 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.848, allocations: 0 / 0.9576 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.848, allocations: 13.12 kB / 0.9576 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.848, allocations: 0 / 0.9576 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.848, allocations: 1.188 kB / 0.9576 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.8482, allocations: 170.9 kB / 0.9577 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.8482, allocations: 78.27 kB / 0.9578 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.8482, allocations: 9.234 kB / 0.9578 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.241e-05/0.8483, allocations: 3.953 kB / 0.9578 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.8483, allocations: 2.281 kB / 0.9578 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.8483, allocations: 5.125 kB / 0.9578 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.365e-05/0.8483, allocations: 81.75 kB / 0.9579 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8483, allocations: 0 / 0.9579 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002928/0.8486, allocations: 32.17 kB / 0.9579 GB, free: 4.219 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0005683/0.8492, allocations: 0.7595 MB / 0.9587 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.98e-05/0.8493, allocations: 27.67 kB / 0.9587 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8493, allocations: 0 / 0.9587 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.399e-05/0.8494, allocations: 21.55 kB / 0.9587 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.8496, allocations: 10.42 kB / 0.9587 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.8502, allocations: 399.8 kB / 0.9591 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.8503, allocations: 0.6774 MB / 0.9598 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.369e-05/0.8503, allocations: 11.14 kB / 0.9598 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.8503, allocations: 9.875 kB / 0.9598 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8504, allocations: 96 / 0.9598 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.8622, allocations: 1.671 MB / 0.9614 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/0.8624, allocations: 247.9 kB / 0.9617 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.689, allocations: 3.656 kB / 0.9617 GB, free: 1.277 MB / 0.7169 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