Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",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.21/2.21, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001045/0.001045, allocations: 176.9 kB / 496.1 MB, free: 12.88 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.408/1.408, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.0009247/0.0009247, allocations: 87.97 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.077e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2593, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8178/1.077, allocations: 150.2 MB / 1.366 GB, free: 3.762 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/1.077, allocations: 70.2 kB / 1.366 GB, free: 3.723 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Occupants/BaseClasses/weibullVariableGeneration.mo:12:5-12:98: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.005311/1.083, allocations: 2.096 MB / 1.368 GB, free: 1.914 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.062e-06/1.083, allocations: 3.938 kB / 1.368 GB, free: 1.91 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.17e-06/1.083, allocations: 0.9688 kB / 1.368 GB, free: 1.91 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.000308/1.083, allocations: 350.6 kB / 1.368 GB, free: 1.527 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/1.083, allocations: 12.03 kB / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/1.083, allocations: 30.56 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31e-05/1.083, allocations: 12.64 kB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.222e-05/1.083, allocations: 163.1 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/1.083, allocations: 4 kB / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/1.083, allocations: 7.188 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.675e-05/1.083, allocations: 45.56 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/1.083, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/1.083, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/1.083, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.49e-05/1.084, allocations: 11.88 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/1.084, allocations: 244.1 kB / 1.369 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.727e-05/1.084, allocations: 34.5 kB / 1.369 GB, free: 0.875 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/1.084, allocations: 16.42 kB / 1.369 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/1.084, allocations: 3.938 kB / 1.369 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.232e-05/1.084, allocations: 62.69 kB / 1.369 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/1.084, allocations: 0 / 1.369 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0001573/1.084, allocations: 62.89 kB / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/1.084, allocations: 58.39 kB / 1.369 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.043e-05/1.084, allocations: 89 kB / 1.369 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/1.084, allocations: 28.95 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/1.084, allocations: 80.14 kB / 1.369 GB, free: 464 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/1.084, allocations: 19.25 kB / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/1.084, allocations: 0 / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.444e-05/1.084, allocations: 314.8 kB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/1.085, allocations: 15.12 kB / 1.369 GB, free: 112 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/1.085, allocations: 30.56 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.412e-05/1.085, allocations: 18.92 kB / 1.369 GB, free: 56 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.085, allocations: 0 / 1.369 GB, free: 56 kB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001003/1.085, allocations: 68.98 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/1.085, allocations: 8 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/1.085, allocations: 0 / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/1.085, allocations: 3.75 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/1.085, allocations: 15.92 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.085, allocations: 3.953 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/1.085, allocations: 11.84 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/1.085, allocations: 7.312 kB / 1.369 GB, free: 15.95 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 5.606e-05/1.085, allocations: 105 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.098e-06/1.085, allocations: 4 kB / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/1.085, allocations: 6.938 kB / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/1.085, allocations: 0 / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.085, allocations: 0 / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.085, allocations: 11.88 kB / 1.37 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/1.085, allocations: 302.2 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.085, allocations: 0 / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.877e-05/1.085, allocations: 8 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.085, allocations: 0 / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/1.085, allocations: 3.984 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.085, allocations: 0.625 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.085, allocations: 7.953 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/1.085, allocations: 162.5 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/1.085, allocations: 77.11 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/1.085, allocations: 3.984 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.042e-05/1.086, allocations: 6.188 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/1.086, allocations: 7.953 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/1.086, allocations: 0.625 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.16e-05/1.086, allocations: 79.28 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.086, allocations: 0 / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002462/1.086, allocations: 49.92 kB / 1.37 GB, free: 15.06 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.0006029/1.086, allocations: 0.7757 MB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.863e-05/1.087, allocations: 29.75 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.087, allocations: 0 / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/1.087, allocations: 15.31 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/1.087, allocations: 2.469 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/1.087, allocations: 141.3 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/1.087, allocations: 0.6809 MB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.172e-05/1.087, allocations: 4 kB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/1.087, allocations: 10.62 kB / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.087, allocations: 0 / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/1.1, allocations: 1.918 MB / 1.374 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/1.1, allocations: 209.7 kB / 1.374 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/2.569, allocations: 0 / 1.374 GB, free: 11.4 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat does not exist to compare? outputFormat=mat