Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",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.0009594/0.0009595, allocations: 100.2 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.000932/0.0009321, 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.488/1.488, allocations: 223.2 MB / 239.9 MB, free: 5.43 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.612/2.612, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7953/0.7957, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001179/0.7969, allocations: 0.9296 MB / 0.9545 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006755/0.7976, allocations: 377.5 kB / 0.9549 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.7976, allocations: 3.938 kB / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.7977, allocations: 0 / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-05/0.7977, allocations: 0.8438 kB / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.7981, allocations: 74.98 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.575e-05/0.7982, allocations: 12.03 kB / 0.9549 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.348e-05/0.7983, allocations: 1.375 kB / 0.9549 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.7983, allocations: 10.81 kB / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.863e-05/0.7983, allocations: 11.39 kB / 0.955 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.7983, allocations: 1.469 kB / 0.955 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.7985, allocations: 68.92 kB / 0.955 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.7986, allocations: 5.219 kB / 0.955 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.7986, allocations: 31.64 kB / 0.9551 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.7987, allocations: 56.88 kB / 0.9551 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.7987, allocations: 0 / 0.9551 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7987, allocations: 0 / 0.9551 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.7988, allocations: 0 / 0.9551 GB, free: 6.875 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.0003751/0.7991, allocations: 349.2 kB / 0.9555 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.7992, allocations: 9.188 kB / 0.9555 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.891e-05/0.7993, allocations: 36.8 kB / 0.9555 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.7993, allocations: 6.547 kB / 0.9555 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.528e-05/0.7994, allocations: 160.2 kB / 0.9557 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.7994, allocations: 5.344 kB / 0.9557 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.7994, allocations: 2.719 kB / 0.9557 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.438e-05/0.7995, allocations: 39.44 kB / 0.9557 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.7995, allocations: 4 kB / 0.9557 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.7996, allocations: 0 / 0.9557 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.7996, allocations: 1.406 kB / 0.9557 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.7996, allocations: 12.22 kB / 0.9557 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.7999, allocations: 248.2 kB / 0.956 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.431e-05/0.8, allocations: 36.5 kB / 0.956 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.8, allocations: 5.656 kB / 0.956 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.8001, allocations: 56.31 kB / 0.956 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.8001, allocations: 0 / 0.956 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002047/0.8003, allocations: 81.19 kB / 0.9561 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.8004, allocations: 52.44 kB / 0.9562 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.336e-05/0.8005, allocations: 98.33 kB / 0.9563 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.8005, allocations: 26.83 kB / 0.9563 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.8005, allocations: 88.12 kB / 0.9564 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.8005, allocations: 17.97 kB / 0.9564 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.8005, allocations: 0.7812 kB / 0.9564 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.017e-05/0.8006, allocations: 316 kB / 0.9567 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.8006, allocations: 9.047 kB / 0.9567 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.633e-05/0.8007, allocations: 31.03 kB / 0.9567 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.8007, allocations: 15.97 kB / 0.9568 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8007, allocations: 0 / 0.9568 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001044/0.8008, allocations: 78.91 kB / 0.9568 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.8008, allocations: 4.844 kB / 0.9568 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.8009, allocations: 5.125 kB / 0.9568 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.8009, allocations: 1.5 kB / 0.9568 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.513e-05/0.801, allocations: 15.72 kB / 0.9569 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.801, allocations: 1.562 kB / 0.9569 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.801, allocations: 9.375 kB / 0.9569 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.801, allocations: 2.469 kB / 0.9569 GB, free: 5.023 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.383e-05/0.8011, allocations: 121 kB / 0.957 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.8011, allocations: 4.938 kB / 0.957 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.8011, allocations: 4.562 kB / 0.957 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8011, allocations: 1.094 kB / 0.957 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8011, allocations: 4.203 kB / 0.957 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8011, allocations: 1.125 kB / 0.957 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.8013, allocations: 301.4 kB / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8014, allocations: 0 / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.8014, allocations: 3.219 kB / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.8014, allocations: 1 kB / 0.9573 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.8014, allocations: 5.031 kB / 0.9573 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.8014, allocations: 3.953 kB / 0.9573 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8014, allocations: 5.141 kB / 0.9573 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.8015, allocations: 159.5 kB / 0.9575 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.8016, allocations: 82.17 kB / 0.9575 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.8016, allocations: 1.125 kB / 0.9575 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.243e-05/0.8016, allocations: 3.984 kB / 0.9575 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.8017, allocations: 6.109 kB / 0.9575 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.8017, allocations: 1.281 kB / 0.9575 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.137e-05/0.8017, allocations: 77.69 kB / 0.9576 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8017, allocations: 0 / 0.9576 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002906/0.802, allocations: 33.33 kB / 0.9576 GB, free: 4.211 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.0005379/0.8025, allocations: 0.7867 MB / 0.9584 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.8027, allocations: 31.08 kB / 0.9584 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8027, allocations: 1.062 kB / 0.9584 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.401e-05/0.8027, allocations: 16.94 kB / 0.9585 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.8028, allocations: 5.047 kB / 0.9585 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.8034, allocations: 0.7853 MB / 0.9592 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.8035, allocations: 0.6839 MB / 0.9599 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.091e-05/0.8035, allocations: 1.906 kB / 0.9599 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.8035, allocations: 18.8 kB / 0.9599 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8035, allocations: 3.938 kB / 0.9599 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01194/0.8155, allocations: 1.713 MB / 0.9616 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.8157, allocations: 241 kB / 0.9618 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.625, allocations: 5.688 kB / 0.9618 GB, free: 0.8789 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat does not exist to compare? outputFormat=mat