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.0009359/0.0009359, allocations: 100.9 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.001001/0.001001, 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.486/1.486, allocations: 223.2 MB / 239.9 MB, free: 5.34 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.472/2.472, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005174/0.0005174, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8333/0.8339, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.001195/0.8351, allocations: 0.9449 MB / 0.9545 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.8359, allocations: 421.7 kB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.8359, allocations: 4 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.8359, allocations: 0 / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.544e-05/0.836, allocations: 1.219 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.8364, allocations: 86.67 kB / 0.955 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.8365, allocations: 9.109 kB / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.8365, allocations: 5.438 kB / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.8366, allocations: 8.625 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.847e-05/0.8366, allocations: 10.31 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.8366, allocations: 1.562 kB / 0.955 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.8368, allocations: 75.03 kB / 0.9551 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.8368, allocations: 22.69 kB / 0.9551 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.8369, allocations: 31.98 kB / 0.9551 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.837, allocations: 60.28 kB / 0.9552 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.837, allocations: 0 / 0.9552 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.063e-06/0.837, allocations: 1.281 kB / 0.9552 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.837, allocations: 0 / 0.9552 GB, free: 6.832 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.0003821/0.8374, allocations: 377 kB / 0.9556 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.8375, allocations: 8.969 kB / 0.9556 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.598e-05/0.8375, allocations: 39.47 kB / 0.9556 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.8376, allocations: 14.73 kB / 0.9556 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.972e-05/0.8377, allocations: 168.4 kB / 0.9558 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.8377, allocations: 1.469 kB / 0.9558 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.8377, allocations: 2.688 kB / 0.9558 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.8378, allocations: 39.47 kB / 0.9558 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.8378, allocations: 1.062 kB / 0.9558 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.8379, allocations: 0 / 0.9558 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.8379, allocations: 1.062 kB / 0.9558 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.269e-05/0.8379, allocations: 12.22 kB / 0.9558 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.8382, allocations: 252.5 kB / 0.9561 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.989e-05/0.8383, allocations: 30.11 kB / 0.9561 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.8383, allocations: 5.266 kB / 0.9561 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.8385, allocations: 61.56 kB / 0.9562 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.8385, allocations: 4 kB / 0.9562 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002/0.8387, allocations: 85.19 kB / 0.9563 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.8387, allocations: 52.78 kB / 0.9563 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.312e-05/0.8388, allocations: 105.1 kB / 0.9564 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.8388, allocations: 26.89 kB / 0.9564 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.8388, allocations: 85.42 kB / 0.9565 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.8388, allocations: 9.234 kB / 0.9565 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.8388, allocations: 1.531 kB / 0.9565 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.8389, allocations: 323.6 kB / 0.9568 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.8389, allocations: 9.469 kB / 0.9568 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.979e-05/0.8389, allocations: 30.58 kB / 0.9569 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.839, allocations: 16.09 kB / 0.9569 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.839, allocations: 0 / 0.9569 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.803e-05/0.8391, allocations: 78.88 kB / 0.957 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8391, allocations: 8.547 kB / 0.957 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.8391, allocations: 1.469 kB / 0.957 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.8391, allocations: 1.344 kB / 0.957 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.8392, allocations: 12.27 kB / 0.957 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.8392, allocations: 1.062 kB / 0.957 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.8393, allocations: 9.156 kB / 0.957 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.8393, allocations: 6.688 kB / 0.957 GB, free: 4.93 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.928e-05/0.8393, allocations: 113.3 kB / 0.9571 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.8393, allocations: 13.33 kB / 0.9571 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.8394, allocations: 9.234 kB / 0.9571 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.8394, allocations: 1.312 kB / 0.9571 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.8394, allocations: 3.953 kB / 0.9571 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.8394, allocations: 0 / 0.9571 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.8396, allocations: 298.8 kB / 0.9574 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8396, allocations: 3.938 kB / 0.9574 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.8397, allocations: 4.281 kB / 0.9574 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.8397, allocations: 0 / 0.9574 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.8397, allocations: 1.375 kB / 0.9574 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8397, allocations: 7.953 kB / 0.9574 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8397, allocations: 4.547 kB / 0.9574 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.8398, allocations: 164 kB / 0.9576 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.8398, allocations: 86.48 kB / 0.9577 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.8399, allocations: 1.531 kB / 0.9577 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.8399, allocations: 0 / 0.9577 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.8399, allocations: 9.438 kB / 0.9577 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.84, allocations: 6.25 kB / 0.9577 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.697e-05/0.84, allocations: 83.97 kB / 0.9578 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.84, allocations: 0 / 0.9578 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002988/0.8403, allocations: 32.02 kB / 0.9578 GB, free: 4.098 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.0005704/0.8409, allocations: 0.772 MB / 0.9586 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.841, allocations: 35.33 kB / 0.9586 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.841, allocations: 0 / 0.9586 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.436e-05/0.841, allocations: 9.969 kB / 0.9586 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.8412, allocations: 9.172 kB / 0.9586 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.8417, allocations: 0.8008 MB / 0.9594 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.8419, allocations: 0.689 MB / 0.9601 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.913e-05/0.8419, allocations: 2.281 kB / 0.9601 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.8419, allocations: 13.5 kB / 0.9601 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8419, allocations: 1.188 kB / 0.9601 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.8535, allocations: 1.844 MB / 0.9619 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.8536, allocations: 235.8 kB / 0.9621 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.633, allocations: 0 / 0.9621 GB, free: 0.668 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