Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",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.128/2.128, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001038/0.001038, allocations: 177 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.362/1.362, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.0008711/0.0008711, allocations: 95.94 kB / 0.9318 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.506e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2587, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8316/1.09, allocations: 150.3 MB / 1.366 GB, free: 3.68 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/1.091, allocations: 69.83 kB / 1.366 GB, free: 3.641 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.006181/1.097, allocations: 2.302 MB / 1.368 GB, free: 1.66 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.082e-06/1.097, allocations: 0 / 1.368 GB, free: 1.66 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.44e-06/1.097, allocations: 4 kB / 1.368 GB, free: 1.656 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.0003656/1.097, allocations: 383.3 kB / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.097, allocations: 8.031 kB / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/1.097, allocations: 35.16 kB / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/1.097, allocations: 11.86 kB / 1.368 GB, free: 1.176 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/1.097, allocations: 171 kB / 1.369 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/1.097, allocations: 0 / 1.369 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/1.097, allocations: 4 kB / 1.369 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.612e-05/1.098, allocations: 44.8 kB / 1.369 GB, free: 0.918 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/1.098, allocations: 0 / 1.369 GB, free: 0.918 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/1.098, allocations: 3.984 kB / 1.369 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.098, allocations: 7.938 kB / 1.369 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.637e-05/1.098, allocations: 7.953 kB / 1.369 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/1.098, allocations: 244.5 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.419e-05/1.098, allocations: 37.77 kB / 1.369 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/1.098, allocations: 20.56 kB / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/1.098, allocations: 0 / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/1.098, allocations: 62.34 kB / 1.369 GB, free: 500 kB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/1.098, allocations: 0 / 1.369 GB, free: 500 kB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001575/1.098, allocations: 69.17 kB / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/1.098, allocations: 59.39 kB / 1.369 GB, free: 360 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/1.098, allocations: 100.8 kB / 1.369 GB, free: 256 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/1.099, allocations: 25.7 kB / 1.369 GB, free: 224 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/1.099, allocations: 87.2 kB / 1.369 GB, free: 136 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/1.099, allocations: 11.84 kB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/1.099, allocations: 3.875 kB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.099, allocations: 314.8 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/1.099, allocations: 11.25 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/1.099, allocations: 38.81 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/1.099, allocations: 15.8 kB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.099, allocations: 0 / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.136e-05/1.099, allocations: 68.47 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/1.099, allocations: 8 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/1.099, allocations: 3.984 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.099, allocations: 4.062 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.188e-05/1.099, allocations: 11.94 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.099, allocations: 7.953 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/1.099, allocations: 0 / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/1.099, allocations: 4 kB / 1.37 GB, free: 15.63 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.202e-05/1.099, allocations: 104.5 kB / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/1.099, allocations: 11.84 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/1.099, allocations: 8.078 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.099, allocations: 0 / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.099, allocations: 4 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/1.099, allocations: 3.953 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/1.099, allocations: 304.8 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.099, allocations: 0 / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-05/1.099, allocations: 0 / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.099, allocations: 4.094 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/1.099, allocations: 0 / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.099, allocations: 3.953 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.099, allocations: 3.984 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/1.1, allocations: 166.3 kB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/1.1, allocations: 85.02 kB / 1.37 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/1.1, allocations: 3.938 kB / 1.37 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.835e-05/1.1, allocations: 0 / 1.37 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/1.1, allocations: 4.328 kB / 1.37 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/1.1, allocations: 7.984 kB / 1.37 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.792e-05/1.1, allocations: 86.97 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.1, allocations: 0 / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002665/1.1, allocations: 55.12 kB / 1.371 GB, free: 14.73 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.0006286/1.101, allocations: 0.769 MB / 1.371 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.324e-05/1.101, allocations: 31.19 kB / 1.371 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.101, allocations: 0 / 1.371 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.129e-05/1.101, allocations: 19.56 kB / 1.371 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/1.101, allocations: 4.641 kB / 1.371 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/1.101, allocations: 138.1 kB / 1.372 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/1.102, allocations: 0.6809 MB / 1.372 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.053e-05/1.102, allocations: 4 kB / 1.372 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/1.102, allocations: 18.8 kB / 1.372 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.102, allocations: 4 kB / 1.372 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/1.115, allocations: 2.033 MB / 1.374 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/1.115, allocations: 205.1 kB / 1.374 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/2.591, allocations: 4 kB / 1.374 GB, free: 10.89 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat does not exist to compare? outputFormat=mat