Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.345/2.345, allocations: 393.5 MB / 408.4 MB, free: 11 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.001109/0.001109, allocations: 179.5 kB / 0.4901 GB, free: 2.254 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.606/1.606, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.0009996/0.0009997, allocations: 93.7 kB / 0.9396 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003823, allocations: 12.59 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3082, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/0.5418, allocations: 150.4 MB / 1.376 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.5422, allocations: 63.97 kB / 1.376 GB, free: 14.77 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.007119/0.5493, allocations: 2.324 MB / 1.378 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5493, allocations: 3.938 kB / 1.378 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.5494, allocations: 0 / 1.378 GB, free: 12.44 MB / 0.8855 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.0004788/0.5498, allocations: 392.9 kB / 1.379 GB, free: 12 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.5499, allocations: 16.56 kB / 1.379 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.547e-05/0.55, allocations: 34.56 kB / 1.379 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.55, allocations: 3.953 kB / 1.379 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.5501, allocations: 174.9 kB / 1.379 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.5502, allocations: 0 / 1.379 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.5502, allocations: 4 kB / 1.379 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.5503, allocations: 37.69 kB / 1.379 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5503, allocations: 3.938 kB / 1.379 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.5504, allocations: 4 kB / 1.379 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5504, allocations: 0 / 1.379 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.643e-05/0.5504, allocations: 15.94 kB / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.5508, allocations: 245 kB / 1.379 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.5509, allocations: 34.56 kB / 1.379 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.5509, allocations: 7.922 kB / 1.379 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.5511, allocations: 59.44 kB / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.5511, allocations: 0 / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.0002576/0.5513, allocations: 81.81 kB / 1.38 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.5514, allocations: 55.41 kB / 1.38 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.5515, allocations: 96.98 kB / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.5515, allocations: 29.7 kB / 1.38 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.5516, allocations: 80.14 kB / 1.38 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.5516, allocations: 11.81 kB / 1.38 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.5516, allocations: 8 kB / 1.38 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5517, allocations: 318.8 kB / 1.38 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.5517, allocations: 7.938 kB / 1.38 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.27e-05/0.5518, allocations: 39.41 kB / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.304e-05/0.5518, allocations: 12 kB / 1.38 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5518, allocations: 4 kB / 1.38 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001115/0.552, allocations: 69.53 kB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.552, allocations: 8 kB / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.552, allocations: 3.984 kB / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.552, allocations: 0 / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.5521, allocations: 15.94 kB / 1.38 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.5521, allocations: 7.953 kB / 1.38 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.5521, allocations: 3.938 kB / 1.38 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5521, allocations: 4 kB / 1.38 GB, free: 10.34 MB / 0.8855 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 9.021e-05/0.5522, allocations: 118.7 kB / 1.38 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.5523, allocations: 4 kB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.5523, allocations: 7.953 kB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5523, allocations: 0 / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5523, allocations: 0 / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.5523, allocations: 7.953 kB / 1.38 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.5526, allocations: 302.5 kB / 1.381 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5526, allocations: 0 / 1.381 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.5527, allocations: 0 / 1.381 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5527, allocations: 8 kB / 1.381 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.5527, allocations: 4 kB / 1.381 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5527, allocations: 0 / 1.381 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.5527, allocations: 3.953 kB / 1.381 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.5529, allocations: 163.4 kB / 1.381 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.5529, allocations: 77.55 kB / 1.381 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.553, allocations: 8 kB / 1.381 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.553, allocations: 0 / 1.381 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.553, allocations: 11.95 kB / 1.381 GB, free: 9.543 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.5531, allocations: 7.984 kB / 1.381 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.5531, allocations: 83.28 kB / 1.381 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5531, allocations: 0 / 1.381 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002975/0.5534, allocations: 43.98 kB / 1.381 GB, free: 9.41 MB / 0.8855 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.0007882/0.5542, allocations: 0.7895 MB / 1.382 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.5543, allocations: 35.92 kB / 1.382 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.5544, allocations: 0 / 1.382 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.936e-05/0.5544, allocations: 15.94 kB / 1.382 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.5545, allocations: 7.984 kB / 1.382 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008514/0.5554, allocations: 0.8096 MB / 1.383 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.5557, allocations: 0.6809 MB / 1.383 GB, free: 6.969 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.5557, allocations: 11.94 kB / 1.383 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.5558, allocations: 15.42 kB / 1.383 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.5558, allocations: 0 / 1.383 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.5703, allocations: 2.028 MB / 1.385 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.5706, allocations: 237.2 kB / 1.386 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.119, allocations: 0 / 1.386 GB, free: 4.805 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat does not exist to compare? outputFormat=mat