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.000908/0.000908, allocations: 86.64 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.001199/0.001199, 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.461/1.461, allocations: 223.2 MB / 240 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.454/2.454, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003818, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8145/0.8149, allocations: 142.3 MB / 0.9538 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001651/0.8167, allocations: 0.9299 MB / 0.9547 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007716/0.8175, allocations: 378.2 kB / 0.9551 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.8175, allocations: 0 / 0.9551 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.8175, allocations: 0 / 0.9551 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.235e-05/0.8176, allocations: 3.938 kB / 0.9551 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.818, allocations: 73.2 kB / 0.9552 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.375e-05/0.8181, allocations: 18.64 kB / 0.9552 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.8181, allocations: 1.562 kB / 0.9552 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.161e-05/0.8182, allocations: 6.812 kB / 0.9552 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.914e-05/0.8182, allocations: 14.97 kB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.8182, allocations: 1.031 kB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.8184, allocations: 84.5 kB / 0.9553 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.8184, allocations: 5 kB / 0.9553 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.8185, allocations: 27.8 kB / 0.9553 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.8186, allocations: 56.09 kB / 0.9554 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.8186, allocations: 1.156 kB / 0.9554 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8186, allocations: 0 / 0.9554 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.8186, allocations: 4 kB / 0.9554 GB, free: 6.934 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.0003516/0.819, allocations: 346.9 kB / 0.9557 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.819, allocations: 9.812 kB / 0.9557 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.499e-05/0.8191, allocations: 33.81 kB / 0.9558 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.8191, allocations: 9.016 kB / 0.9558 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.709e-05/0.8192, allocations: 160.2 kB / 0.9559 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.8192, allocations: 6.219 kB / 0.9559 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.8192, allocations: 2.062 kB / 0.9559 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.8193, allocations: 43.2 kB / 0.956 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.8194, allocations: 5.188 kB / 0.956 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.8194, allocations: 0 / 0.956 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.8194, allocations: 5.109 kB / 0.956 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/0.8194, allocations: 11.2 kB / 0.956 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.8197, allocations: 248.3 kB / 0.9562 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.777e-05/0.8198, allocations: 37.62 kB / 0.9563 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.8198, allocations: 20.97 kB / 0.9563 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.8198, allocations: 0 / 0.9563 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.8199, allocations: 57.38 kB / 0.9563 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.8199, allocations: 3.938 kB / 0.9563 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001911/0.8201, allocations: 80.91 kB / 0.9564 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.8202, allocations: 56.56 kB / 0.9565 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.186e-05/0.8202, allocations: 98.2 kB / 0.9566 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.8203, allocations: 26.67 kB / 0.9566 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.164e-05/0.8203, allocations: 81.45 kB / 0.9567 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.8203, allocations: 24.97 kB / 0.9567 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.8203, allocations: 1.031 kB / 0.9567 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.8204, allocations: 316.1 kB / 0.957 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.8204, allocations: 9.109 kB / 0.957 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.8204, allocations: 34.81 kB / 0.957 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.8205, allocations: 15.81 kB / 0.9571 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8205, allocations: 0 / 0.9571 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.708e-05/0.8206, allocations: 70.23 kB / 0.9571 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.8206, allocations: 6.906 kB / 0.9571 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8206, allocations: 1.344 kB / 0.9571 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.8206, allocations: 10.08 kB / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.8207, allocations: 10.58 kB / 0.9572 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.8207, allocations: 1.5 kB / 0.9572 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.8207, allocations: 6.844 kB / 0.9572 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.8208, allocations: 5.5 kB / 0.9572 GB, free: 5.059 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.245e-05/0.8208, allocations: 112.8 kB / 0.9573 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.8208, allocations: 6.25 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.8209, allocations: 3.562 kB / 0.9573 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8209, allocations: 1.188 kB / 0.9573 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.8209, allocations: 7.953 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.8209, allocations: 1.156 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.8211, allocations: 297.3 kB / 0.9576 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.8211, allocations: 288 / 0.9576 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.8211, allocations: 7.219 kB / 0.9576 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.8211, allocations: 1.438 kB / 0.9576 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.8211, allocations: 7.953 kB / 0.9576 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8212, allocations: 1.188 kB / 0.9576 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8212, allocations: 0 / 0.9576 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.8213, allocations: 171.3 kB / 0.9578 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.8213, allocations: 78.58 kB / 0.9578 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.8213, allocations: 1.375 kB / 0.9578 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.8214, allocations: 3.953 kB / 0.9578 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.8214, allocations: 10.05 kB / 0.9578 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.8214, allocations: 1.406 kB / 0.9578 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.288e-05/0.8215, allocations: 78.28 kB / 0.9579 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8215, allocations: 0 / 0.9579 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002796/0.8218, allocations: 37.48 kB / 0.958 GB, free: 4.238 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.0005272/0.8223, allocations: 0.7644 MB / 0.9587 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.8224, allocations: 34.64 kB / 0.9587 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8224, allocations: 0 / 0.9587 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.085e-05/0.8224, allocations: 13.34 kB / 0.9588 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.8227, allocations: 12.41 kB / 0.9588 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.8232, allocations: 410 kB / 0.9592 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.8233, allocations: 0.6781 MB / 0.9598 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.221e-05/0.8234, allocations: 6.219 kB / 0.9598 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.8234, allocations: 13.56 kB / 0.9598 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8234, allocations: 0 / 0.9598 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.8348, allocations: 1.731 MB / 0.9615 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.835, allocations: 255.8 kB / 0.9618 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.671, allocations: 0 / 0.9618 GB, free: 1.32 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