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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 99 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.001769/0.001769, 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.514/1.514, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.594/2.594, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 8 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.91/0.9104, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001934/0.9125, allocations: 0.9451 MB / 0.9818 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009993/0.9135, allocations: 417.3 kB / 0.9822 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.9135, allocations: 0 / 0.9822 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.9136, allocations: 0 / 0.9822 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.9136, allocations: 4 kB / 0.9822 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.9141, allocations: 79.72 kB / 0.9823 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.837e-05/0.9142, allocations: 15.97 kB / 0.9823 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.14e-05/0.9142, allocations: 4 kB / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.156e-05/0.9143, allocations: 7.938 kB / 0.9823 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.9143, allocations: 15.98 kB / 0.9823 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.9143, allocations: 3.938 kB / 0.9823 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.9145, allocations: 83.84 kB / 0.9824 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.9146, allocations: 3.938 kB / 0.9824 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.9146, allocations: 29.7 kB / 0.9824 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.9148, allocations: 67.89 kB / 0.9825 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.9148, allocations: 0 / 0.9825 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9148, allocations: 3.938 kB / 0.9825 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.9148, allocations: 0 / 0.9825 GB, free: 4.633 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.0005412/0.9154, allocations: 383.3 kB / 0.9828 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.9154, allocations: 8.031 kB / 0.9829 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.197e-05/0.9155, allocations: 30.56 kB / 0.9829 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.9155, allocations: 7.906 kB / 0.9829 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.9157, allocations: 167 kB / 0.983 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.9157, allocations: 4 kB / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.9158, allocations: 7.938 kB / 0.9831 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.9159, allocations: 41.64 kB / 0.9831 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.9159, allocations: 0 / 0.9831 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.9159, allocations: 0 / 0.9831 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.9159, allocations: 4 kB / 0.9831 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.114e-05/0.916, allocations: 15.92 kB / 0.9831 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.9163, allocations: 241 kB / 0.9833 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.953e-05/0.9165, allocations: 38.55 kB / 0.9834 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.9165, allocations: 3.953 kB / 0.9834 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.9166, allocations: 63.44 kB / 0.9835 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.9167, allocations: 0 / 0.9835 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002428/0.9169, allocations: 77.77 kB / 0.9835 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.917, allocations: 51.41 kB / 0.9836 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/0.917, allocations: 109.9 kB / 0.9837 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.9171, allocations: 29.7 kB / 0.9837 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.9171, allocations: 84.14 kB / 0.9838 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.9172, allocations: 11.91 kB / 0.9838 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.9172, allocations: 0 / 0.9838 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.9173, allocations: 322.8 kB / 0.9841 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.9174, allocations: 4 kB / 0.9841 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.126e-05/0.9174, allocations: 43.34 kB / 0.9842 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.9175, allocations: 16 kB / 0.9842 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9175, allocations: 0 / 0.9842 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/0.9176, allocations: 77.47 kB / 0.9842 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.9176, allocations: 4 kB / 0.9842 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.9176, allocations: 4 kB / 0.9842 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.9176, allocations: 0 / 0.9842 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.741e-05/0.9177, allocations: 8 kB / 0.9843 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.9177, allocations: 3.938 kB / 0.9843 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.9177, allocations: 7.938 kB / 0.9843 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.9178, allocations: 7.938 kB / 0.9843 GB, free: 2.551 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 0.0001042/0.9179, allocations: 113.9 kB / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.9179, allocations: 15.84 kB / 0.9844 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.9179, allocations: 7.969 kB / 0.9844 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.918, allocations: 0 / 0.9844 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.918, allocations: 0 / 0.9844 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.918, allocations: 3.938 kB / 0.9844 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.9183, allocations: 302.5 kB / 0.9847 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9183, allocations: 3.953 kB / 0.9847 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.9183, allocations: 8 kB / 0.9847 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.9183, allocations: 0 / 0.9847 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.9183, allocations: 4 kB / 0.9847 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.9183, allocations: 0 / 0.9847 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.9183, allocations: 0 / 0.9847 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.9185, allocations: 159.5 kB / 0.9849 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.9186, allocations: 84.97 kB / 0.9849 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.9186, allocations: 0 / 0.9849 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.9186, allocations: 8.375 kB / 0.985 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.9187, allocations: 3.984 kB / 0.985 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.9187, allocations: 8 kB / 0.985 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.426e-05/0.9188, allocations: 87.22 kB / 0.985 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9188, allocations: 0 / 0.985 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002881/0.9191, allocations: 39.98 kB / 0.9851 GB, free: 1.617 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.0008906/0.92, allocations: 0.7729 MB / 0.9858 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.9201, allocations: 31.92 kB / 0.9859 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9201, allocations: 0 / 0.9859 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.9201, allocations: 12 kB / 0.9859 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.9203, allocations: 9.188 kB / 0.9859 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000794/0.9211, allocations: 0.8079 MB / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.9214, allocations: 0.6848 MB / 0.9874 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.07e-05/0.9214, allocations: 4 kB / 0.9874 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.9215, allocations: 15.44 kB / 0.9874 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.9215, allocations: 0 / 0.9874 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.9354, allocations: 1.838 MB / 0.9892 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.9357, allocations: 224.4 kB / 0.9894 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.895, allocations: 0 / 0.9894 GB, free: 13.23 MB / 0.7481 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) Environment - environmentSimulation: 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