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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009576/0.0009578, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.669/2.669, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 12 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.854/0.8544, allocations: 146.8 MB / 0.9809 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001263/0.8557, allocations: 0.9373 MB / 0.9818 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007614/0.8565, allocations: 425.3 kB / 0.9822 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.8565, allocations: 0 / 0.9822 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.8565, allocations: 0 / 0.9822 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.231e-05/0.8566, allocations: 0 / 0.9822 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.857, allocations: 83.72 kB / 0.9823 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.181e-05/0.8571, allocations: 11.98 kB / 0.9823 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.8571, allocations: 7.984 kB / 0.9823 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.547e-05/0.8572, allocations: 7.938 kB / 0.9823 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.793e-05/0.8572, allocations: 7.984 kB / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.8572, allocations: 11.94 kB / 0.9823 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.8574, allocations: 75.86 kB / 0.9824 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.8574, allocations: 7.984 kB / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.8575, allocations: 29.7 kB / 0.9824 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.8576, allocations: 63.91 kB / 0.9825 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8576, allocations: 0 / 0.9825 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8576, allocations: 3.938 kB / 0.9825 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.8576, allocations: 0 / 0.9825 GB, free: 4.656 MB / 0.7325 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.0004178/0.8581, allocations: 379.3 kB / 0.9828 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.8581, allocations: 12.03 kB / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.692e-05/0.8582, allocations: 34.5 kB / 0.9829 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.8582, allocations: 7.906 kB / 0.9829 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.8583, allocations: 170.9 kB / 0.9831 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.8583, allocations: 4 kB / 0.9831 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.8584, allocations: 0 / 0.9831 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.8585, allocations: 49.62 kB / 0.9831 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.8585, allocations: 0 / 0.9831 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.8585, allocations: 0 / 0.9831 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8585, allocations: 0 / 0.9831 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.729e-05/0.8586, allocations: 11.94 kB / 0.9831 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.8589, allocations: 249 kB / 0.9834 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.453e-05/0.859, allocations: 30.58 kB / 0.9834 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.859, allocations: 3.953 kB / 0.9834 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.8591, allocations: 67.42 kB / 0.9835 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.8592, allocations: 0 / 0.9835 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002103/0.8594, allocations: 73.59 kB / 0.9835 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.8594, allocations: 55.39 kB / 0.9836 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.278e-05/0.8595, allocations: 101.9 kB / 0.9837 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.8595, allocations: 25.7 kB / 0.9837 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.8596, allocations: 92.12 kB / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.8596, allocations: 7.906 kB / 0.9838 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.8596, allocations: 4 kB / 0.9838 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8597, allocations: 314.8 kB / 0.9841 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.8598, allocations: 11.98 kB / 0.9841 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.223e-05/0.8598, allocations: 39.36 kB / 0.9841 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.8599, allocations: 15.98 kB / 0.9842 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8599, allocations: 0 / 0.9842 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001046/0.86, allocations: 81.47 kB / 0.9842 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.86, allocations: 4 kB / 0.9842 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.86, allocations: 4 kB / 0.9842 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.8601, allocations: 0.5 kB / 0.9842 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/0.8601, allocations: 11.98 kB / 0.9843 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.8601, allocations: 3.938 kB / 0.9843 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.8602, allocations: 7.938 kB / 0.9843 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.8602, allocations: 4 kB / 0.9843 GB, free: 2.574 MB / 0.7325 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 7.857e-05/0.8603, allocations: 117.9 kB / 0.9844 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.8603, allocations: 11.86 kB / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.8603, allocations: 7.969 kB / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.8603, allocations: 7.875 kB / 0.9844 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8603, allocations: 3.984 kB / 0.9844 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8603, allocations: 0 / 0.9844 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.8606, allocations: 294.6 kB / 0.9847 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8606, allocations: 3.953 kB / 0.9847 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.8606, allocations: 7.984 kB / 0.9847 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.8606, allocations: 4 kB / 0.9847 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.8606, allocations: 0 / 0.9847 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.8606, allocations: 4 kB / 0.9847 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8606, allocations: 0 / 0.9847 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.8608, allocations: 159.5 kB / 0.9849 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.8609, allocations: 84.97 kB / 0.985 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.8609, allocations: 0 / 0.985 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.8609, allocations: 0 / 0.985 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.861, allocations: 8 kB / 0.985 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.861, allocations: 0 / 0.985 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.322e-05/0.861, allocations: 91.2 kB / 0.985 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.861, allocations: 4 kB / 0.985 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002858/0.8613, allocations: 36 kB / 0.9851 GB, free: 1.645 MB / 0.7325 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.0007098/0.862, allocations: 0.7728 MB / 0.9858 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.8622, allocations: 44.03 kB / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8622, allocations: 0 / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.37e-05/0.8622, allocations: 12 kB / 0.9859 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.8624, allocations: 1.547 kB / 0.9859 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.8631, allocations: 0.8132 MB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.8633, allocations: 0.6809 MB / 0.9874 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.8633, allocations: 7.984 kB / 0.9874 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.8634, allocations: 15.44 kB / 0.9874 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.8634, allocations: 0 / 0.9874 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01202/0.8754, allocations: 1.838 MB / 0.9892 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.8757, allocations: 231.4 kB / 0.9894 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.665, allocations: 0 / 0.9894 GB, free: 13.25 MB / 0.7481 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) Environment - environmentSimulation: 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