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.001105/0.001106, allocations: 99.55 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.0009556/0.0009557, allocations: 177.3 kB / 15.94 MB, free: 228 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.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.324 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.509/2.509, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003681, allocations: 15.94 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.7973, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001259/0.7986, allocations: 0.941 MB / 0.9545 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006606/0.7993, allocations: 416.2 kB / 0.9549 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.7994, allocations: 0.9375 kB / 0.9549 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.7994, allocations: 3.984 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.974e-05/0.7994, allocations: 1.031 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.7999, allocations: 86.33 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.064e-05/0.7999, allocations: 9.625 kB / 0.955 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.8, allocations: 5.172 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.096e-05/0.8, allocations: 12.84 kB / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.637e-05/0.8, allocations: 14.44 kB / 0.955 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.8001, allocations: 1.156 kB / 0.955 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.8002, allocations: 75.38 kB / 0.9551 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.8003, allocations: 6.203 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.8003, allocations: 35.91 kB / 0.9551 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.8004, allocations: 64.53 kB / 0.9552 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.8005, allocations: 1.344 kB / 0.9552 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8005, allocations: 0 / 0.9552 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.8005, allocations: 0 / 0.9552 GB, free: 6.82 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.0003323/0.8008, allocations: 376.7 kB / 0.9556 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.8009, allocations: 13.77 kB / 0.9556 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.8009, allocations: 31.69 kB / 0.9556 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.8009, allocations: 10.36 kB / 0.9556 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.581e-05/0.801, allocations: 172.4 kB / 0.9558 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.801, allocations: 1.156 kB / 0.9558 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.8011, allocations: 2.25 kB / 0.9558 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.789e-05/0.8012, allocations: 44.64 kB / 0.9558 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.8012, allocations: 4 kB / 0.9558 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.8012, allocations: 1.5 kB / 0.9558 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.8012, allocations: 0 / 0.9558 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.927e-05/0.8012, allocations: 7.578 kB / 0.9558 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.8015, allocations: 249.2 kB / 0.9561 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.442e-05/0.8016, allocations: 34.62 kB / 0.9561 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.8016, allocations: 4 kB / 0.9561 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.8017, allocations: 61.33 kB / 0.9562 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.482e-06/0.8017, allocations: 0 / 0.9562 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.000193/0.8019, allocations: 82.52 kB / 0.9563 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.802, allocations: 56.38 kB / 0.9563 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.712e-05/0.802, allocations: 104.7 kB / 0.9564 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.802, allocations: 31.05 kB / 0.9564 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.8021, allocations: 93.55 kB / 0.9565 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.8021, allocations: 9.281 kB / 0.9565 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.8021, allocations: 1.219 kB / 0.9565 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.8021, allocations: 312.2 kB / 0.9568 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.8022, allocations: 12.98 kB / 0.9568 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.979e-05/0.8022, allocations: 31.09 kB / 0.9569 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.189e-05/0.8022, allocations: 19.55 kB / 0.9569 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8023, allocations: 3.938 kB / 0.9569 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.737e-05/0.8024, allocations: 74.92 kB / 0.957 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.8024, allocations: 5.531 kB / 0.957 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.8024, allocations: 0 / 0.957 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.8024, allocations: 2.406 kB / 0.957 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.8025, allocations: 15.69 kB / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.8025, allocations: 1.344 kB / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.8025, allocations: 9.188 kB / 0.957 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.8025, allocations: 7.531 kB / 0.957 GB, free: 4.914 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 5.347e-05/0.8026, allocations: 112.1 kB / 0.9571 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.8026, allocations: 6 kB / 0.9571 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.8026, allocations: 9.094 kB / 0.9571 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8026, allocations: 1.031 kB / 0.9571 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.8026, allocations: 3.953 kB / 0.9571 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8027, allocations: 3.984 kB / 0.9571 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.8028, allocations: 295.1 kB / 0.9574 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8029, allocations: 0 / 0.9574 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.8029, allocations: 15.2 kB / 0.9574 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.8029, allocations: 1.125 kB / 0.9574 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.8029, allocations: 1.188 kB / 0.9574 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.8029, allocations: 3.953 kB / 0.9574 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8029, allocations: 1.031 kB / 0.9574 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.803, allocations: 156 kB / 0.9576 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.8031, allocations: 94.19 kB / 0.9577 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.8031, allocations: 1.094 kB / 0.9577 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.024e-05/0.8031, allocations: 0 / 0.9577 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.8032, allocations: 6.297 kB / 0.9577 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.8032, allocations: 1.188 kB / 0.9577 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.198e-05/0.8032, allocations: 91.95 kB / 0.9578 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8032, allocations: 0 / 0.9578 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002892/0.8035, allocations: 31.66 kB / 0.9578 GB, free: 4.09 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.0005329/0.804, allocations: 0.7651 MB / 0.9586 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.8042, allocations: 40.17 kB / 0.9586 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8042, allocations: 0 / 0.9586 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.615e-05/0.8042, allocations: 13.53 kB / 0.9586 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.8043, allocations: 13.05 kB / 0.9586 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.8049, allocations: 0.8096 MB / 0.9594 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.969e-05/0.805, allocations: 0.6808 MB / 0.9601 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.097e-05/0.805, allocations: 6.922 kB / 0.9601 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.805, allocations: 12.88 kB / 0.9601 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.805, allocations: 0 / 0.9601 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.8173, allocations: 1.853 MB / 0.9619 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.8176, allocations: 227.5 kB / 0.9621 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.532, allocations: 0 / 0.9621 GB, free: 0.6562 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