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.001097/0.001097, allocations: 90.75 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.001152/0.001152, 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.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.591/2.591, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003477, allocations: 8 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8192/0.8196, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001353/0.821, allocations: 0.9411 MB / 0.982 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008578/0.8219, allocations: 409.3 kB / 0.9824 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.8219, allocations: 4 kB / 0.9824 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.8219, allocations: 0 / 0.9824 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.75e-05/0.822, allocations: 7.922 kB / 0.9824 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.8225, allocations: 87.78 kB / 0.9825 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.189e-05/0.8226, allocations: 19.92 kB / 0.9825 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.8226, allocations: 4 kB / 0.9825 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.389e-05/0.8227, allocations: 4 kB / 0.9826 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.079e-05/0.8227, allocations: 11.92 kB / 0.9826 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.8227, allocations: 7.938 kB / 0.9826 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.8229, allocations: 91.91 kB / 0.9827 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.823, allocations: 11.92 kB / 0.9827 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.823, allocations: 25.7 kB / 0.9827 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.8231, allocations: 67.89 kB / 0.9828 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.8232, allocations: 4 kB / 0.9828 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8232, allocations: 0 / 0.9828 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.8232, allocations: 0 / 0.9828 GB, free: 4.535 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.000468/0.8236, allocations: 379.3 kB / 0.9831 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.8237, allocations: 8.031 kB / 0.9831 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.867e-05/0.8238, allocations: 38.5 kB / 0.9832 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.8238, allocations: 3.906 kB / 0.9832 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.8239, allocations: 167 kB / 0.9833 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.824, allocations: 3.984 kB / 0.9833 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.824, allocations: 11.98 kB / 0.9833 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.8241, allocations: 41.58 kB / 0.9834 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.8241, allocations: 4 kB / 0.9834 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.8241, allocations: 4 kB / 0.9834 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.8241, allocations: 0 / 0.9834 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.819e-05/0.8242, allocations: 8 kB / 0.9834 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.8246, allocations: 248.9 kB / 0.9836 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.8247, allocations: 34.52 kB / 0.9837 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.8247, allocations: 28.89 kB / 0.9837 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.8247, allocations: 0 / 0.9837 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.8249, allocations: 59.39 kB / 0.9838 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.8249, allocations: 0 / 0.9838 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002188/0.8251, allocations: 77.53 kB / 0.9838 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.8252, allocations: 55.41 kB / 0.9839 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.8253, allocations: 105.8 kB / 0.984 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.8253, allocations: 29.7 kB / 0.984 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.8254, allocations: 84.14 kB / 0.9841 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.8254, allocations: 15.89 kB / 0.9841 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.8254, allocations: 0 / 0.9841 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.8255, allocations: 310.8 kB / 0.9844 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.235e-05/0.8255, allocations: 11.98 kB / 0.9844 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.8256, allocations: 39.42 kB / 0.9845 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.8256, allocations: 12 kB / 0.9845 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.8256, allocations: 0 / 0.9845 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001175/0.8258, allocations: 81.41 kB / 0.9845 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.8258, allocations: 9.25 kB / 0.9846 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.8258, allocations: 0 / 0.9846 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.8258, allocations: 0 / 0.9846 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.8259, allocations: 8 kB / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.8259, allocations: 12.05 kB / 0.9846 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.8259, allocations: 3.938 kB / 0.9846 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.8259, allocations: 4 kB / 0.9846 GB, free: 2.43 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 8.291e-05/0.826, allocations: 113.8 kB / 0.9847 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.826, allocations: 11.8 kB / 0.9847 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.8261, allocations: 11.91 kB / 0.9847 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.8261, allocations: 4.094 kB / 0.9847 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.8261, allocations: 3.984 kB / 0.9847 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8261, allocations: 4 kB / 0.9847 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.8264, allocations: 298.6 kB / 0.985 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8264, allocations: 0 / 0.985 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.8264, allocations: 4 kB / 0.985 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.8264, allocations: 0 / 0.985 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.8265, allocations: 7.922 kB / 0.985 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8265, allocations: 0.5625 kB / 0.985 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.8265, allocations: 0 / 0.985 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.8266, allocations: 167.5 kB / 0.9852 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.8267, allocations: 88.97 kB / 0.9853 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.8267, allocations: 3.984 kB / 0.9853 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.796e-05/0.8268, allocations: 0 / 0.9853 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.8268, allocations: 0 / 0.9853 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.8268, allocations: 4 kB / 0.9853 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.074e-05/0.8269, allocations: 87.27 kB / 0.9854 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8269, allocations: 0 / 0.9854 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002701/0.8271, allocations: 36 kB / 0.9854 GB, free: 1.5 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.0007514/0.8279, allocations: 0.7716 MB / 0.9861 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.828, allocations: 35.92 kB / 0.9862 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.828, allocations: 4.125 kB / 0.9862 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.8281, allocations: 19.98 kB / 0.9862 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.8283, allocations: 0 / 0.9862 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006719/0.829, allocations: 437 kB / 0.9866 GB, free: 180 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.8293, allocations: 0.677 MB / 0.9873 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.8293, allocations: 7.984 kB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.8294, allocations: 15.44 kB / 0.9873 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/0.8294, allocations: 0 / 0.9873 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.8425, allocations: 1.866 MB / 0.9891 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.8428, allocations: 231 kB / 0.9893 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.73, allocations: 0 / 0.9893 GB, free: 13.48 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