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.181/2.181, allocations: 390.3 MB / 402.8 MB, free: 6.629 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.0009863/0.0009863, allocations: 172.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.3 MB / 0.7915 GB, free: 5.359 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.0009372/0.0009372, allocations: 88.02 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.529e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2301, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7753/1.005, allocations: 150.3 MB / 1.366 GB, free: 3.648 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/1.006, allocations: 71.08 kB / 1.366 GB, free: 3.609 MB / 0.823 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.00624/1.012, allocations: 2.291 MB / 1.368 GB, free: 1.637 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.402e-06/1.012, allocations: 4 kB / 1.368 GB, free: 1.633 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.373e-06/1.012, allocations: 4 kB / 1.368 GB, free: 1.629 MB / 0.823 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.0003668/1.012, allocations: 387.3 kB / 1.368 GB, free: 1.203 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/1.012, allocations: 8.031 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.147e-05/1.012, allocations: 38.16 kB / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/1.012, allocations: 11.86 kB / 1.368 GB, free: 1.141 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/1.013, allocations: 159.1 kB / 1.369 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/1.013, allocations: 4 kB / 1.369 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/1.013, allocations: 0 / 1.369 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.293e-05/1.013, allocations: 52.66 kB / 1.369 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/1.013, allocations: 0 / 1.369 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/1.013, allocations: 0 / 1.369 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/1.013, allocations: 3.938 kB / 1.369 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/1.013, allocations: 14.95 kB / 1.369 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/1.013, allocations: 242.7 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.097e-05/1.013, allocations: 37.75 kB / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/1.013, allocations: 16.17 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/1.013, allocations: 0 / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/1.013, allocations: 63.31 kB / 1.369 GB, free: 476 kB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/1.013, allocations: 0 / 1.369 GB, free: 476 kB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001666/1.014, allocations: 64.8 kB / 1.369 GB, free: 412 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/1.014, allocations: 63.39 kB / 1.369 GB, free: 336 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/1.014, allocations: 95 kB / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/1.014, allocations: 29.7 kB / 1.369 GB, free: 204 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/1.014, allocations: 87.95 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/1.014, allocations: 15.83 kB / 1.369 GB, free: 100 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/1.014, allocations: 7.812 kB / 1.369 GB, free: 96 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.014, allocations: 310.8 kB / 1.37 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/1.014, allocations: 11.12 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/1.014, allocations: 39.19 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/1.014, allocations: 11.98 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.014, allocations: 0 / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.854e-05/1.014, allocations: 68.47 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.014, allocations: 7.984 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.014, allocations: 4 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/1.014, allocations: 4.062 kB / 1.37 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/1.014, allocations: 14.38 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.014, allocations: 3.953 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/1.014, allocations: 4 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/1.014, allocations: 3.938 kB / 1.37 GB, free: 15.61 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 6.265e-05/1.014, allocations: 108.2 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/1.014, allocations: 7.906 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/1.014, allocations: 11.27 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.014, allocations: 0 / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.014, allocations: 4 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/1.014, allocations: 4.047 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/1.015, allocations: 300 kB / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.015, allocations: 3.984 kB / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/1.015, allocations: 4 kB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/1.015, allocations: 0 / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/1.015, allocations: 7.75 kB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.015, allocations: 3.953 kB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.015, allocations: 4 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/1.015, allocations: 158.8 kB / 1.37 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/1.015, allocations: 81.02 kB / 1.37 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/1.015, allocations: 11.69 kB / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.705e-05/1.015, allocations: 0 / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/1.015, allocations: 3.953 kB / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/1.015, allocations: 7.984 kB / 1.37 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.245e-05/1.015, allocations: 82.97 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.3e-07/1.015, allocations: 0 / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002863/1.015, allocations: 47.88 kB / 1.371 GB, free: 14.71 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.0006626/1.016, allocations: 0.7802 MB / 1.371 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.347e-05/1.016, allocations: 31.25 kB / 1.371 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.016, allocations: 0 / 1.371 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.45e-05/1.016, allocations: 19.56 kB / 1.371 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/1.016, allocations: 6.75 kB / 1.371 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/1.017, allocations: 140.4 kB / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/1.017, allocations: 0.6809 MB / 1.372 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.241e-05/1.017, allocations: 4 kB / 1.372 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/1.017, allocations: 18.98 kB / 1.372 GB, free: 13 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.017, allocations: 3.938 kB / 1.372 GB, free: 13 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/1.031, allocations: 2.038 MB / 1.374 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/1.031, allocations: 196 kB / 1.374 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.454/2.484, allocations: 7.375 kB / 1.374 GB, free: 10.86 MB / 0.8386 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