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.402/2.402, allocations: 387.1 MB / 399.7 MB, free: 9.531 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.001161/0.001161, allocations: 190.2 kB / 492.3 MB, free: 0.5898 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.679/1.679, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 101.4 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.848e-05/3.851e-05, allocations: 0 / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3197, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.378/1.697, allocations: 149.4 MB / 1.358 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/1.698, allocations: 71.25 kB / 1.358 GB, free: 18.94 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.006644/1.704, allocations: 2.066 MB / 1.36 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.635e-06/1.704, allocations: 0.8438 kB / 1.36 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.096e-05/1.704, allocations: 0 / 1.36 GB, free: 34.55 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.0003692/1.705, allocations: 348.4 kB / 1.361 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.705, allocations: 7.688 kB / 1.361 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.565e-05/1.705, allocations: 45.12 kB / 1.361 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/1.705, allocations: 3.906 kB / 1.361 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/1.705, allocations: 166 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/1.705, allocations: 3.938 kB / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/1.705, allocations: 0 / 1.361 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/1.705, allocations: 43.62 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/1.705, allocations: 0 / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/1.705, allocations: 2.344 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.705, allocations: 0 / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.046e-05/1.705, allocations: 11.08 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/1.706, allocations: 256.5 kB / 1.361 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.679e-05/1.706, allocations: 29.7 kB / 1.361 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/1.706, allocations: 22.5 kB / 1.361 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/1.706, allocations: 3.938 kB / 1.361 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/1.706, allocations: 60.67 kB / 1.361 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/1.706, allocations: 0 / 1.361 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001816/1.706, allocations: 60.83 kB / 1.361 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/1.706, allocations: 55.23 kB / 1.362 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/1.706, allocations: 97.81 kB / 1.362 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/1.706, allocations: 25.7 kB / 1.362 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/1.706, allocations: 80.27 kB / 1.362 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/1.706, allocations: 24.81 kB / 1.362 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/1.706, allocations: 0 / 1.362 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.706, allocations: 315.6 kB / 1.362 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/1.706, allocations: 10.56 kB / 1.362 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.925e-05/1.707, allocations: 32.08 kB / 1.362 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.021e-05/1.707, allocations: 13.34 kB / 1.362 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.707, allocations: 0 / 1.362 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.496e-05/1.707, allocations: 69.19 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.707, allocations: 4.469 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/1.707, allocations: 3.656 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.707, allocations: 1.734 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/1.707, allocations: 15.19 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.707, allocations: 2.062 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/1.707, allocations: 7.875 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/1.707, allocations: 10.14 kB / 1.362 GB, free: 32.83 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.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete 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.644e-05/1.707, allocations: 108.8 kB / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/1.707, allocations: 0 / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/1.707, allocations: 9.109 kB / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.707, allocations: 0 / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.707, allocations: 0 / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.707, allocations: 0 / 1.362 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/1.707, allocations: 305 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.707, allocations: 0 / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/1.707, allocations: 7.875 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.707, allocations: 1.5 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/1.707, allocations: 0 / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.707, allocations: 0 / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.707, allocations: 7.781 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/1.707, allocations: 168.2 kB / 1.363 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/1.708, allocations: 82.84 kB / 1.363 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/1.708, allocations: 0 / 1.363 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.697e-05/1.708, allocations: 7.875 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/1.708, allocations: 1.359 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/1.708, allocations: 8.984 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.765e-05/1.708, allocations: 79.12 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.708, allocations: 0 / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003332/1.708, allocations: 44.91 kB / 1.363 GB, free: 32.07 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,$outputAlias_y,curSeed) * Number of discrete 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.0007398/1.709, allocations: 0.7701 MB / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001079/1.709, allocations: 28 kB / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/1.709, allocations: 3.938 kB / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.951e-05/1.709, allocations: 11.66 kB / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/1.709, allocations: 7.75 kB / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/1.71, allocations: 121.1 kB / 1.364 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/1.71, allocations: 0.6814 MB / 1.365 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.068e-05/1.71, allocations: 6.094 kB / 1.365 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/1.71, allocations: 7.438 kB / 1.365 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.71, allocations: 0 / 1.365 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/1.726, allocations: 1.876 MB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/1.727, allocations: 211.8 kB / 1.367 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/3.362, allocations: 0 / 1.367 GB, free: 30.13 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