Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Weibull1DON,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_9_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.0007502/0.0007502, 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.000847/0.0008471, 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.2 MB / 240 MB, free: 5.316 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.581/2.581, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004963, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8798/0.8803, allocations: 142.3 MB / 0.9538 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002022/0.8824, allocations: 0.9403 MB / 0.9548 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.8836, allocations: 416.6 kB / 0.9552 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.8836, allocations: 1.031 kB / 0.9552 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.8837, allocations: 0 / 0.9552 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.162e-05/0.8837, allocations: 3.984 kB / 0.9552 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.8844, allocations: 88.73 kB / 0.9552 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.483e-05/0.8845, allocations: 20.25 kB / 0.9553 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.957e-05/0.8845, allocations: 1.875 kB / 0.9553 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.615e-05/0.8846, allocations: 11.53 kB / 0.9553 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.8846, allocations: 10.92 kB / 0.9553 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.8847, allocations: 2.125 kB / 0.9553 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.885, allocations: 93.44 kB / 0.9554 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.885, allocations: 10.61 kB / 0.9554 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.8851, allocations: 27.05 kB / 0.9554 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.8853, allocations: 73.11 kB / 0.9555 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.8853, allocations: 0.8438 kB / 0.9555 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.35e-06/0.8853, allocations: 0 / 0.9555 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.8853, allocations: 4 kB / 0.9555 GB, free: 6.816 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.0006645/0.886, allocations: 379.6 kB / 0.9558 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 8.238e-05/0.8861, allocations: 9.375 kB / 0.9559 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.8862, allocations: 31.69 kB / 0.9559 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.8863, allocations: 10.05 kB / 0.9559 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.8865, allocations: 165 kB / 0.9561 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.8865, allocations: 5.016 kB / 0.9561 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.8865, allocations: 7.125 kB / 0.9561 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.8867, allocations: 47.45 kB / 0.9561 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.8867, allocations: 0 / 0.9561 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.8868, allocations: 1.469 kB / 0.9561 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.8868, allocations: 0 / 0.9561 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.725e-05/0.8868, allocations: 11.98 kB / 0.9561 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.8873, allocations: 245.8 kB / 0.9564 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.8874, allocations: 33.52 kB / 0.9564 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.8875, allocations: 24.78 kB / 0.9564 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.8875, allocations: 1.062 kB / 0.9564 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.8877, allocations: 56.8 kB / 0.9565 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.8877, allocations: 0 / 0.9565 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003098/0.888, allocations: 82.33 kB / 0.9565 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.8881, allocations: 56.47 kB / 0.9566 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.8882, allocations: 113.3 kB / 0.9567 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.8882, allocations: 25.7 kB / 0.9567 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.8883, allocations: 86.27 kB / 0.9568 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.8883, allocations: 14.02 kB / 0.9568 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.8883, allocations: 4 kB / 0.9568 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.8884, allocations: 312 kB / 0.9571 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.8885, allocations: 9.469 kB / 0.9571 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.929e-05/0.8885, allocations: 39.17 kB / 0.9572 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.8886, allocations: 12.09 kB / 0.9572 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8886, allocations: 0 / 0.9572 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001337/0.8887, allocations: 74.86 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.8888, allocations: 8.688 kB / 0.9573 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8888, allocations: 1.062 kB / 0.9573 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.8888, allocations: 5.266 kB / 0.9573 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/0.8889, allocations: 12.16 kB / 0.9573 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.8889, allocations: 5.109 kB / 0.9573 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.889, allocations: 6.406 kB / 0.9573 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.889, allocations: 2.125 kB / 0.9573 GB, free: 4.906 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 0.0001235/0.8891, allocations: 112.7 kB / 0.9574 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.8891, allocations: 6.781 kB / 0.9574 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.8892, allocations: 7.969 kB / 0.9574 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.8892, allocations: 1.469 kB / 0.9574 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.8892, allocations: 7.953 kB / 0.9574 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.8892, allocations: 96 / 0.9574 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.8895, allocations: 306.3 kB / 0.9577 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8895, allocations: 1.312 kB / 0.9577 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.684e-05/0.8895, allocations: 2 kB / 0.9577 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.8895, allocations: 0.8438 kB / 0.9577 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.8895, allocations: 9.188 kB / 0.9577 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.8895, allocations: 1.125 kB / 0.9577 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.8895, allocations: 0 / 0.9577 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.8897, allocations: 164.5 kB / 0.9579 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.8897, allocations: 82.39 kB / 0.958 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.8898, allocations: 5.141 kB / 0.958 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.613e-05/0.8898, allocations: 7.953 kB / 0.958 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.8899, allocations: 2.875 kB / 0.958 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.8899, allocations: 1.031 kB / 0.958 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.929e-05/0.8899, allocations: 87.52 kB / 0.9581 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.873e-06/0.8899, allocations: 3.938 kB / 0.9581 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003297/0.8903, allocations: 40.69 kB / 0.9581 GB, free: 4.066 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.0006891/0.891, allocations: 0.7624 MB / 0.9589 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.8911, allocations: 35.33 kB / 0.9589 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8911, allocations: 0 / 0.9589 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.115e-05/0.8911, allocations: 22.2 kB / 0.9589 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.8914, allocations: 7.25 kB / 0.9589 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006768/0.892, allocations: 423.9 kB / 0.9593 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.8922, allocations: 0.6838 MB / 0.96 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.291e-05/0.8922, allocations: 6.547 kB / 0.96 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.8923, allocations: 12.69 kB / 0.96 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.8923, allocations: 0.9375 kB / 0.96 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01236/0.9046, allocations: 1.868 MB / 0.9618 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.9048, allocations: 227.4 kB / 0.9621 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.726, allocations: 0 / 0.9621 GB, free: 1.066 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat does not exist to compare? outputFormat=mat