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.455/2.455, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001091/0.001091, allocations: 178.5 kB / 0.4901 GB, free: 2.258 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.573/1.573, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.0009787/0.0009787, allocations: 110.2 kB / 0.9396 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 8.156 kB / 1.09 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3046, allocations: 143 MB / 1.229 GB, free: 85.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2012/0.5058, allocations: 150.4 MB / 1.376 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.5062, allocations: 71.95 kB / 1.376 GB, free: 14.81 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.007079/0.5133, allocations: 2.32 MB / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5133, allocations: 0 / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.647e-06/0.5134, allocations: 3.938 kB / 1.378 GB, free: 12.48 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.0005084/0.5139, allocations: 393.8 kB / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.514, allocations: 12.56 kB / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.048e-05/0.514, allocations: 34.55 kB / 1.379 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.5141, allocations: 7.953 kB / 1.379 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.5142, allocations: 170.9 kB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.5143, allocations: 4 kB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.5143, allocations: 4 kB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.5144, allocations: 45.59 kB / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5144, allocations: 8 kB / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.5145, allocations: 4 kB / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.5145, allocations: 0 / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.467e-05/0.5145, allocations: 7.953 kB / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.5149, allocations: 241 kB / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.515, allocations: 38.5 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.515, allocations: 4 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.5152, allocations: 63.42 kB / 1.379 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 2.164e-06/0.5152, allocations: 0 / 1.379 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.000249/0.5154, allocations: 73.64 kB / 1.38 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.5155, allocations: 63.33 kB / 1.38 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.866e-05/0.5156, allocations: 92.98 kB / 1.38 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.5156, allocations: 37.7 kB / 1.38 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.5157, allocations: 80.14 kB / 1.38 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.5157, allocations: 19.8 kB / 1.38 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.5157, allocations: 0 / 1.38 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5159, allocations: 314.8 kB / 1.38 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.5159, allocations: 4 kB / 1.38 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.095e-05/0.5159, allocations: 35.42 kB / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.516, allocations: 16 kB / 1.38 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.516, allocations: 0 / 1.38 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001092/0.5161, allocations: 77.45 kB / 1.38 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5161, allocations: 8.938 kB / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5161, allocations: 0 / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5162, allocations: 0 / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.5162, allocations: 8 kB / 1.38 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.5163, allocations: 11.94 kB / 1.38 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/0.5163, allocations: 12 kB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.5163, allocations: 4 kB / 1.38 GB, free: 10.38 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 0.0001002/0.5164, allocations: 113.9 kB / 1.38 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.5164, allocations: 0 / 1.38 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.5165, allocations: 7.969 kB / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5165, allocations: 0 / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5165, allocations: 7.938 kB / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.5165, allocations: 4.453 kB / 1.38 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.5168, allocations: 306.5 kB / 1.381 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5168, allocations: 0 / 1.381 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.674e-05/0.5168, allocations: 0 / 1.381 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5168, allocations: 4 kB / 1.381 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.5169, allocations: 3.984 kB / 1.381 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5169, allocations: 0 / 1.381 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5169, allocations: 3.953 kB / 1.381 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.5171, allocations: 159.6 kB / 1.381 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.5171, allocations: 93.03 kB / 1.381 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.5172, allocations: 3.984 kB / 1.381 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.5172, allocations: 0 / 1.381 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.5173, allocations: 7.953 kB / 1.381 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.5173, allocations: 4 kB / 1.381 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.047e-05/0.5174, allocations: 87.27 kB / 1.381 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5174, allocations: 0 / 1.381 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003076/0.5177, allocations: 40 kB / 1.381 GB, free: 9.453 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.0008758/0.5186, allocations: 0.798 MB / 1.382 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.5187, allocations: 27.98 kB / 1.382 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5187, allocations: 0 / 1.382 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.787e-05/0.5188, allocations: 24.06 kB / 1.382 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.5189, allocations: 3.984 kB / 1.382 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009481/0.5199, allocations: 0.8095 MB / 1.383 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.5202, allocations: 0.6848 MB / 1.383 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.5202, allocations: 8 kB / 1.383 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.5203, allocations: 15.38 kB / 1.383 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/0.5203, allocations: 4 kB / 1.383 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.5345, allocations: 2.031 MB / 1.385 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/0.5348, allocations: 226.8 kB / 1.386 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.127, allocations: 0 / 1.386 GB, free: 4.844 MB / 0.8855 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