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.0009982/0.0009982, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001249/0.001249, allocations: 172.7 kB / 15.95 MB, free: 208 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.49/1.49, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.654/2.654, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.000358, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8231/0.8235, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002285/0.8259, allocations: 0.9411 MB / 0.982 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.827, allocations: 405.3 kB / 0.9824 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.827, allocations: 7.938 kB / 0.9824 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.8271, allocations: 0 / 0.9824 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.929e-05/0.8272, allocations: 4 kB / 0.9824 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.8279, allocations: 87.77 kB / 0.9825 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.908e-05/0.828, allocations: 15.94 kB / 0.9825 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.386e-05/0.8281, allocations: 7.922 kB / 0.9825 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.69e-05/0.8281, allocations: 11.94 kB / 0.9826 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.8282, allocations: 7.984 kB / 0.9826 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.8282, allocations: 4 kB / 0.9826 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.8284, allocations: 91.84 kB / 0.9827 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.8285, allocations: 7.984 kB / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.97e-05/0.8286, allocations: 29.7 kB / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.8288, allocations: 67.89 kB / 0.9828 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.8288, allocations: 4 kB / 0.9828 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.846e-06/0.8288, allocations: 7.938 kB / 0.9828 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.8288, allocations: 0 / 0.9828 GB, free: 4.539 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.0007343/0.8296, allocations: 376.6 kB / 0.9831 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.8296, allocations: 8.031 kB / 0.9831 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.441e-05/0.8297, allocations: 38.56 kB / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.8298, allocations: 7.891 kB / 0.9832 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.8299, allocations: 167 kB / 0.9833 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.83, allocations: 4 kB / 0.9833 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.83, allocations: 4 kB / 0.9833 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.8301, allocations: 45.62 kB / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.8302, allocations: 0 / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.8302, allocations: 3.938 kB / 0.9834 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.8302, allocations: 4 kB / 0.9834 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.987e-05/0.8302, allocations: 7.938 kB / 0.9834 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.8307, allocations: 257 kB / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.8309, allocations: 30.58 kB / 0.9837 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.8309, allocations: 24.89 kB / 0.9837 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.8309, allocations: 0 / 0.9837 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.8311, allocations: 55.34 kB / 0.9838 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.8311, allocations: 4 kB / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002377/0.8314, allocations: 77.58 kB / 0.9838 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.8314, allocations: 55.41 kB / 0.9839 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/0.8315, allocations: 101.8 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.8316, allocations: 29.7 kB / 0.984 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.8316, allocations: 84.14 kB / 0.9841 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.8317, allocations: 3.906 kB / 0.9841 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.8317, allocations: 4 kB / 0.9841 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.8318, allocations: 322.8 kB / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/0.8319, allocations: 7.984 kB / 0.9844 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.474e-05/0.8319, allocations: 39.36 kB / 0.9845 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.8319, allocations: 12 kB / 0.9845 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.832, allocations: 0 / 0.9845 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001193/0.8321, allocations: 81.47 kB / 0.9845 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8321, allocations: 12.06 kB / 0.9846 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.8321, allocations: 0 / 0.9846 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.8321, allocations: 0 / 0.9846 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.8322, allocations: 11.94 kB / 0.9846 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.8322, allocations: 4 kB / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.8322, allocations: 3.938 kB / 0.9846 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.8323, allocations: 4 kB / 0.9846 GB, free: 2.441 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 9.207e-05/0.8324, allocations: 121.8 kB / 0.9847 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.8324, allocations: 11.94 kB / 0.9847 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.8324, allocations: 7.969 kB / 0.9847 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.8324, allocations: 0 / 0.9847 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8324, allocations: 4 kB / 0.9847 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.8324, allocations: 0 / 0.9847 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.8327, allocations: 306.5 kB / 0.985 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8327, allocations: 3.938 kB / 0.985 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.8328, allocations: 0 / 0.985 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8328, allocations: 4.562 kB / 0.985 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.8328, allocations: 0 / 0.985 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8328, allocations: 4 kB / 0.985 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8328, allocations: 3.984 kB / 0.985 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.833, allocations: 155.5 kB / 0.9852 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.833, allocations: 92.97 kB / 0.9853 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.833, allocations: 0 / 0.9853 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.8331, allocations: 3.984 kB / 0.9853 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.8331, allocations: 0 / 0.9853 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.8331, allocations: 7.938 kB / 0.9853 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.8332, allocations: 87.28 kB / 0.9854 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8332, allocations: 0 / 0.9854 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002879/0.8335, allocations: 35.98 kB / 0.9854 GB, free: 1.508 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.0007977/0.8343, allocations: 0.7682 MB / 0.9861 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.8344, allocations: 31.92 kB / 0.9862 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.8344, allocations: 4 kB / 0.9862 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.97e-05/0.8345, allocations: 15.98 kB / 0.9862 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.8347, allocations: 4 kB / 0.9862 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.8354, allocations: 433.5 kB / 0.9866 GB, free: 196 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.8357, allocations: 0.677 MB / 0.9873 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.8357, allocations: 4 kB / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.8358, allocations: 19.42 kB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of SimCode: time 3e-07/0.8358, allocations: 4 kB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.8486, allocations: 1.875 MB / 0.9891 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.8488, allocations: 234.9 kB / 0.9894 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.737, allocations: 0 / 0.9894 GB, free: 13.48 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