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.001449/0.001449, 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.001711/0.001711, 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.469/1.469, 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.1-maint.9.1.x/package.mo): time 2.48/2.48, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004589, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7649/0.7654, allocations: 142.3 MB / 0.9536 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001214/0.7666, allocations: 0.9207 MB / 0.9545 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006876/0.7673, allocations: 375.7 kB / 0.9548 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.7674, allocations: 1.531 kB / 0.9548 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.7674, allocations: 0 / 0.9548 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.012e-05/0.7674, allocations: 0 / 0.9548 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.7679, allocations: 83.25 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.523e-05/0.7679, allocations: 7.375 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.768, allocations: 1.625 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.066e-05/0.768, allocations: 2.594 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.955e-05/0.7681, allocations: 11.11 kB / 0.9549 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.7681, allocations: 0 / 0.9549 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.7683, allocations: 69.58 kB / 0.955 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.7683, allocations: 1.062 kB / 0.955 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.7683, allocations: 31.23 kB / 0.955 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.7684, allocations: 55.66 kB / 0.9551 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.7685, allocations: 4 kB / 0.9551 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.145e-06/0.7685, allocations: 0 / 0.9551 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.7685, allocations: 0 / 0.9551 GB, free: 6.961 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.0003617/0.7688, allocations: 347.9 kB / 0.9554 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.7689, allocations: 8 kB / 0.9554 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.769, allocations: 35.64 kB / 0.9555 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.769, allocations: 6.266 kB / 0.9555 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.321e-05/0.7691, allocations: 162.6 kB / 0.9556 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.7691, allocations: 9.156 kB / 0.9556 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.7691, allocations: 2.469 kB / 0.9556 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.187e-05/0.7692, allocations: 34.53 kB / 0.9557 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.7692, allocations: 1.125 kB / 0.9557 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.7692, allocations: 3.984 kB / 0.9557 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.7692, allocations: 1.25 kB / 0.9557 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.927e-05/0.7693, allocations: 15.58 kB / 0.9557 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.7696, allocations: 248 kB / 0.9559 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.7e-05/0.7696, allocations: 33.31 kB / 0.956 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.7697, allocations: 0.9688 kB / 0.956 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.7698, allocations: 56.03 kB / 0.956 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.7698, allocations: 0 / 0.956 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001929/0.77, allocations: 85.06 kB / 0.9561 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.77, allocations: 60.59 kB / 0.9562 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.036e-05/0.7701, allocations: 92.83 kB / 0.9562 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.7701, allocations: 26.86 kB / 0.9563 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.842e-05/0.7701, allocations: 85.33 kB / 0.9564 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.7702, allocations: 12.95 kB / 0.9564 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.7702, allocations: 1.5 kB / 0.9564 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.642e-05/0.7702, allocations: 314.8 kB / 0.9567 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.7702, allocations: 6.344 kB / 0.9567 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.7703, allocations: 38.58 kB / 0.9567 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.325e-05/0.7703, allocations: 15.19 kB / 0.9567 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7703, allocations: 0 / 0.9567 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.931e-05/0.7704, allocations: 73.95 kB / 0.9568 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.7705, allocations: 5.812 kB / 0.9568 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7705, allocations: 5.25 kB / 0.9568 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.7705, allocations: 5.781 kB / 0.9568 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.7706, allocations: 15.45 kB / 0.9568 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.7706, allocations: 4.938 kB / 0.9568 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.7706, allocations: 5.891 kB / 0.9568 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.7706, allocations: 2.969 kB / 0.9568 GB, free: 5.109 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 5.8e-05/0.7707, allocations: 116.8 kB / 0.957 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.7707, allocations: 5.203 kB / 0.957 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.7707, allocations: 3.562 kB / 0.957 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.7707, allocations: 5.062 kB / 0.957 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.7707, allocations: 4.922 kB / 0.957 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.7708, allocations: 0 / 0.957 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.7709, allocations: 296.9 kB / 0.9573 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7709, allocations: 0 / 0.9573 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.771, allocations: 3.375 kB / 0.9573 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.771, allocations: 1.031 kB / 0.9573 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.771, allocations: 4.938 kB / 0.9573 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.771, allocations: 3.953 kB / 0.9573 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.771, allocations: 1.188 kB / 0.9573 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.7711, allocations: 166.8 kB / 0.9574 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.7711, allocations: 78.23 kB / 0.9575 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.7712, allocations: 1.281 kB / 0.9575 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.055e-05/0.7712, allocations: 4 kB / 0.9575 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.7712, allocations: 10.06 kB / 0.9575 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.7713, allocations: 2.344 kB / 0.9575 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.704e-05/0.7713, allocations: 80.38 kB / 0.9576 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.21e-07/0.7713, allocations: 0 / 0.9576 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002914/0.7716, allocations: 29.62 kB / 0.9576 GB, free: 4.297 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.0005379/0.7721, allocations: 0.7626 MB / 0.9584 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.7722, allocations: 34.86 kB / 0.9584 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7723, allocations: 1.031 kB / 0.9584 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.7723, allocations: 17.02 kB / 0.9584 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.7724, allocations: 9.203 kB / 0.9584 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.773, allocations: 0.78 MB / 0.9592 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.7731, allocations: 0.6795 MB / 0.9599 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.7731, allocations: 14.7 kB / 0.9599 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.7732, allocations: 10.25 kB / 0.9599 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7732, allocations: 0 / 0.9599 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.7875, allocations: 1.663 MB / 0.9615 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.7877, allocations: 238.7 kB / 0.9617 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.557, allocations: 0 / 0.9617 GB, free: 1.016 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