Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_9_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.0009187/0.0009187, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001113/0.001113, allocations: 168.7 kB / 15.95 MB, free: 204 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.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.573/2.573, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003934, allocations: 11.94 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/0.7268, allocations: 142.3 MB / 0.9538 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001036/0.7279, allocations: 0.9489 MB / 0.9548 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006509/0.7286, allocations: 417 kB / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.7286, allocations: 0 / 0.9552 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.7286, allocations: 3.938 kB / 0.9552 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.319e-05/0.7286, allocations: 1.156 kB / 0.9552 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.7291, allocations: 84.31 kB / 0.9552 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.184e-05/0.7291, allocations: 20.33 kB / 0.9553 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.7292, allocations: 1.594 kB / 0.9553 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.143e-05/0.7292, allocations: 8.719 kB / 0.9553 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.869e-05/0.7292, allocations: 14.73 kB / 0.9553 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.7293, allocations: 1.469 kB / 0.9553 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.7294, allocations: 93.34 kB / 0.9554 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.7295, allocations: 6.297 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.7295, allocations: 32.17 kB / 0.9554 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.7296, allocations: 64.08 kB / 0.9555 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7297, allocations: 1.125 kB / 0.9555 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7297, allocations: 0 / 0.9555 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.7297, allocations: 0 / 0.9555 GB, free: 6.797 MB / 0.7169 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.0003398/0.73, allocations: 385.3 kB / 0.9558 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.7301, allocations: 9.406 kB / 0.9559 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.7301, allocations: 31.97 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.671e-05/0.7301, allocations: 9.109 kB / 0.9559 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.502e-05/0.7302, allocations: 177.9 kB / 0.9561 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.7303, allocations: 5.422 kB / 0.9561 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.7303, allocations: 2.844 kB / 0.9561 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.566e-05/0.7304, allocations: 39.38 kB / 0.9561 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.7304, allocations: 0 / 0.9561 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.7304, allocations: 9.312 kB / 0.9561 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.7304, allocations: 0 / 0.9561 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.7305, allocations: 12.34 kB / 0.9561 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.7307, allocations: 249.6 kB / 0.9564 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.881e-05/0.7308, allocations: 29.11 kB / 0.9564 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.7309, allocations: 17.16 kB / 0.9564 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.7309, allocations: 4 kB / 0.9564 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.731, allocations: 61.42 kB / 0.9565 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.731, allocations: 0 / 0.9565 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002068/0.7313, allocations: 78.48 kB / 0.9565 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.7313, allocations: 52.16 kB / 0.9566 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.406e-05/0.7314, allocations: 105.8 kB / 0.9567 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.7314, allocations: 35.02 kB / 0.9567 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.7314, allocations: 81.3 kB / 0.9568 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.7314, allocations: 14.58 kB / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.7314, allocations: 0 / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.7315, allocations: 316 kB / 0.9571 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.7315, allocations: 13.28 kB / 0.9571 GB, free: 5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/0.7316, allocations: 31.72 kB / 0.9572 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.397e-05/0.7316, allocations: 18.75 kB / 0.9572 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7316, allocations: 0 / 0.9572 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001027/0.7317, allocations: 74.95 kB / 0.9573 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.7317, allocations: 5.344 kB / 0.9573 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.7318, allocations: 1.156 kB / 0.9573 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.7318, allocations: 9.078 kB / 0.9573 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.7318, allocations: 11.45 kB / 0.9573 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.7319, allocations: 2.188 kB / 0.9573 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.7319, allocations: 17.03 kB / 0.9573 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.7319, allocations: 3.031 kB / 0.9573 GB, free: 4.871 MB / 0.7169 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 6.548e-05/0.732, allocations: 113.2 kB / 0.9574 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.732, allocations: 5.031 kB / 0.9574 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.732, allocations: 9.094 kB / 0.9574 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.732, allocations: 5.016 kB / 0.9574 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.732, allocations: 4.984 kB / 0.9574 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.7321, allocations: 0 / 0.9574 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.7323, allocations: 298.3 kB / 0.9577 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7323, allocations: 0 / 0.9577 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.7323, allocations: 7.125 kB / 0.9577 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.7323, allocations: 4.969 kB / 0.9577 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.7323, allocations: 8.625 kB / 0.9577 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7323, allocations: 1.125 kB / 0.9577 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7323, allocations: 0 / 0.9577 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.7325, allocations: 155.8 kB / 0.9579 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.7325, allocations: 90 kB / 0.958 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.7325, allocations: 1 kB / 0.958 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/0.7326, allocations: 5.016 kB / 0.958 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.7326, allocations: 6.062 kB / 0.958 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.7326, allocations: 1.031 kB / 0.958 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.718e-05/0.7327, allocations: 88.02 kB / 0.9581 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7327, allocations: 0 / 0.9581 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003188/0.733, allocations: 32.06 kB / 0.9581 GB, free: 4.047 MB / 0.7169 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.0005952/0.7336, allocations: 0.7755 MB / 0.9589 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.7337, allocations: 28.34 kB / 0.9589 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7337, allocations: 0 / 0.9589 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.637e-05/0.7338, allocations: 25.8 kB / 0.9589 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.734, allocations: 4.922 kB / 0.9589 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.7346, allocations: 432.4 kB / 0.9593 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.7348, allocations: 0.684 MB / 0.96 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.04e-05/0.7348, allocations: 6.547 kB / 0.96 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.7348, allocations: 8.781 kB / 0.96 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7348, allocations: 0 / 0.96 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.7475, allocations: 1.865 MB / 0.9618 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/0.7477, allocations: 231.2 kB / 0.9621 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.675, allocations: 0 / 0.9621 GB, free: 1.039 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat does not exist to compare? outputFormat=mat