Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.63/2.63, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001531/0.001532, allocations: 176.9 kB / 492.3 MB, free: 0.6367 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.654/1.654, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.001027/0.001027, allocations: 95.36 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.022e-05/4.054e-05, allocations: 5.562 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3945, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.6, allocations: 149.5 MB / 1.358 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003913/1.601, allocations: 72.03 kB / 1.359 GB, free: 18.96 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96: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.009002/1.61, allocations: 2.302 MB / 1.361 GB, free: 34.56 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.907e-06/1.61, allocations: 0 / 1.361 GB, free: 34.56 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.403e-05/1.61, allocations: 3.844 kB / 1.361 GB, free: 34.56 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.0005799/1.61, allocations: 388.4 kB / 1.361 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.257e-05/1.61, allocations: 7.656 kB / 1.361 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/1.611, allocations: 39.77 kB / 1.361 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/1.611, allocations: 3.953 kB / 1.361 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/1.611, allocations: 167.9 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/1.611, allocations: 0 / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/1.611, allocations: 7.125 kB / 1.361 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/1.611, allocations: 38.27 kB / 1.361 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/1.611, allocations: 3.906 kB / 1.361 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/1.611, allocations: 9.297 kB / 1.361 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.611, allocations: 3.938 kB / 1.361 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/1.611, allocations: 7.625 kB / 1.361 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/1.612, allocations: 251 kB / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/1.612, allocations: 30.59 kB / 1.362 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.192e-05/1.612, allocations: 28.08 kB / 1.362 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/1.612, allocations: 0 / 1.362 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/1.612, allocations: 52.64 kB / 1.362 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 2.595e-06/1.612, allocations: 0 / 1.362 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002516/1.612, allocations: 66.08 kB / 1.362 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/1.612, allocations: 63.27 kB / 1.362 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/1.612, allocations: 98.7 kB / 1.362 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/1.612, allocations: 33.33 kB / 1.362 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/1.613, allocations: 84.08 kB / 1.362 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/1.613, allocations: 22.55 kB / 1.362 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/1.613, allocations: 0 / 1.362 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.613, allocations: 314.1 kB / 1.362 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/1.613, allocations: 7.688 kB / 1.362 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.684e-05/1.613, allocations: 37.3 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/1.613, allocations: 11.84 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/1.613, allocations: 0 / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001217/1.613, allocations: 69.73 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.613, allocations: 3.906 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.613, allocations: 2.906 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/1.613, allocations: 7.75 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/1.613, allocations: 7.688 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/1.613, allocations: 5.25 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/1.613, allocations: 10.52 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/1.613, allocations: 0 / 1.363 GB, free: 32.79 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 0.0001075/1.613, allocations: 111.2 kB / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/1.613, allocations: 3.906 kB / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/1.613, allocations: 7.969 kB / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/1.613, allocations: 1.734 kB / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.613, allocations: 0 / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.613, allocations: 0 / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/1.614, allocations: 309.9 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.614, allocations: 3.875 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/1.614, allocations: 3.938 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/1.614, allocations: 5.391 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/1.614, allocations: 3.984 kB / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.614, allocations: 384 / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.614, allocations: 3.953 kB / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/1.614, allocations: 167.8 kB / 1.363 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/1.614, allocations: 85.02 kB / 1.363 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/1.614, allocations: 1.266 kB / 1.363 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/1.614, allocations: 0 / 1.363 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/1.614, allocations: 5.281 kB / 1.363 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/1.614, allocations: 3.953 kB / 1.363 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.69e-05/1.614, allocations: 88.36 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.41e-07/1.614, allocations: 3.844 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003582/1.615, allocations: 50.08 kB / 1.363 GB, free: 32.02 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.0009873/1.616, allocations: 0.7682 MB / 1.364 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001461/1.616, allocations: 34.52 kB / 1.364 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.616, allocations: 128 / 1.364 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.584e-05/1.616, allocations: 24.48 kB / 1.364 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/1.616, allocations: 0.5469 kB / 1.364 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/1.617, allocations: 142.4 kB / 1.364 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/1.617, allocations: 0.685 MB / 1.365 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.037e-05/1.617, allocations: 5.5 kB / 1.365 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/1.617, allocations: 11.28 kB / 1.365 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of SimCode: time 1.002e-06/1.617, allocations: 0 / 1.365 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/1.636, allocations: 2.058 MB / 1.367 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/1.636, allocations: 192.9 kB / 1.367 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/3.502, allocations: 0 / 1.367 GB, free: 30.04 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat does not exist to compare? outputFormat=mat