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.215/2.215, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001278/0.001278, allocations: 188.5 kB / 487.4 MB, free: 5.066 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.54/1.54, allocations: 221.5 MB / 0.7824 GB, free: 1.031 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.0009514/0.0009511, allocations: 102.2 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.808e-05/1.809e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2602, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8601/1.12, allocations: 148.8 MB / 1.351 GB, free: 18.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/1.121, allocations: 71.75 kB / 1.351 GB, free: 18.05 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.006747/1.127, allocations: 2.293 MB / 1.354 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/1.127, allocations: 0 / 1.354 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.643e-06/1.127, allocations: 0 / 1.354 GB, free: 33.66 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.0003393/1.128, allocations: 394.7 kB / 1.354 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.128, allocations: 12.11 kB / 1.354 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/1.128, allocations: 7.781 kB / 1.354 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.985e-05/1.128, allocations: 164.3 kB / 1.354 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/1.128, allocations: 0 / 1.354 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/1.128, allocations: 4.469 kB / 1.354 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.01e-05/1.128, allocations: 4.547 kB / 1.354 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.19e-05/1.128, allocations: 37.73 kB / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/1.128, allocations: 4 kB / 1.354 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/1.128, allocations: 0 / 1.354 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/1.128, allocations: 4.453 kB / 1.354 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/1.128, allocations: 134.4 kB / 1.354 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.918e-05/1.128, allocations: 31.3 kB / 1.354 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/1.128, allocations: 15.69 kB / 1.354 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/1.128, allocations: 0.5625 kB / 1.354 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.587e-05/1.128, allocations: 59.83 kB / 1.355 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/1.128, allocations: 0 / 1.355 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000145/1.129, allocations: 57.25 kB / 1.355 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/1.129, allocations: 55.94 kB / 1.355 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.844e-05/1.129, allocations: 94.55 kB / 1.355 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/1.129, allocations: 29.02 kB / 1.355 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/1.129, allocations: 80.75 kB / 1.355 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/1.129, allocations: 19.92 kB / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/1.129, allocations: 0 / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.129, allocations: 312.5 kB / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/1.129, allocations: 8.047 kB / 1.355 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/1.129, allocations: 31.66 kB / 1.355 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.503e-05/1.129, allocations: 13.28 kB / 1.355 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.129, allocations: 0 / 1.355 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.98e-05/1.129, allocations: 61.47 kB / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.129, allocations: 5.375 kB / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.129, allocations: 0 / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/1.129, allocations: 3.875 kB / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/1.129, allocations: 10.58 kB / 1.355 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/1.129, allocations: 4.453 kB / 1.355 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/1.129, allocations: 7.844 kB / 1.355 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/1.129, allocations: 8.688 kB / 1.355 GB, free: 32.04 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 7.189e-05/1.129, allocations: 108.2 kB / 1.355 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.295e-05/1.129, allocations: 62.39 kB / 1.355 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/1.129, allocations: 0 / 1.355 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/1.129, allocations: 5.422 kB / 1.355 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/1.129, allocations: 0 / 1.355 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.129, allocations: 4.406 kB / 1.355 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.129, allocations: 0 / 1.355 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.621e-05/1.13, allocations: 141.1 kB / 1.356 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/1.13, allocations: 5.344 kB / 1.356 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/1.13, allocations: 7.938 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/1.13, allocations: 0.6094 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/1.13, allocations: 4.531 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.13, allocations: 0.8125 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.13, allocations: 0 / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.434e-05/1.13, allocations: 82.25 kB / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/1.13, allocations: 81.78 kB / 1.356 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/1.13, allocations: 0.8438 kB / 1.356 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.942e-05/1.13, allocations: 4 kB / 1.356 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/1.13, allocations: 5.625 kB / 1.356 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/1.13, allocations: 4.094 kB / 1.356 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.475e-05/1.13, allocations: 84.3 kB / 1.356 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.13, allocations: 0 / 1.356 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002599/1.13, allocations: 49.53 kB / 1.356 GB, free: 31.45 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.0006576/1.131, allocations: 0.7123 MB / 1.357 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.987e-05/1.131, allocations: 25.06 kB / 1.357 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.131, allocations: 0 / 1.357 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.27e-05/1.131, allocations: 12.06 kB / 1.357 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.626e-05/1.131, allocations: 5.484 kB / 1.357 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/1.131, allocations: 127.5 kB / 1.357 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/1.132, allocations: 0.6819 MB / 1.357 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.945e-05/1.132, allocations: 4.5 kB / 1.357 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/1.132, allocations: 8.047 kB / 1.357 GB, free: 30 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.132, allocations: 0 / 1.357 GB, free: 30 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/1.155, allocations: 1.717 MB / 1.359 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/1.155, allocations: 177.6 kB / 1.359 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.679, allocations: 0 / 1.359 GB, free: 29.66 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