Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_latest_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.001261/0.001261, allocations: 99.86 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.001372/0.001373, 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.474/1.474, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.751/2.751, allocations: 409.2 MB / 0.6838 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004033, allocations: 8 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9118/0.9122, allocations: 146.8 MB / 0.9808 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002077/0.9144, allocations: 0.9333 MB / 0.9818 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.9155, allocations: 381.3 kB / 0.9821 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.9156, allocations: 0 / 0.9821 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.9156, allocations: 3.938 kB / 0.9821 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.9157, allocations: 0 / 0.9821 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.9162, allocations: 75.8 kB / 0.9822 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.013e-05/0.9163, allocations: 11.97 kB / 0.9822 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.9164, allocations: 0 / 0.9822 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.575e-05/0.9165, allocations: 7.938 kB / 0.9822 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.9165, allocations: 11.98 kB / 0.9822 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.9165, allocations: 0 / 0.9822 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.9168, allocations: 71.86 kB / 0.9823 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.9168, allocations: 0 / 0.9823 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.9168, allocations: 33.64 kB / 0.9823 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.917, allocations: 59.84 kB / 0.9824 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.917, allocations: 0 / 0.9824 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.771e-06/0.917, allocations: 8 kB / 0.9824 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.917, allocations: 0 / 0.9824 GB, free: 4.641 MB / 0.7325 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.0006618/0.9177, allocations: 336.9 kB / 0.9827 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.9178, allocations: 12.03 kB / 0.9827 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.275e-05/0.9179, allocations: 36.8 kB / 0.9828 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.9179, allocations: 0 / 0.9828 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.9181, allocations: 163.1 kB / 0.9829 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.9181, allocations: 0 / 0.9829 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.9182, allocations: 12 kB / 0.9829 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.9183, allocations: 49.56 kB / 0.983 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.9183, allocations: 0 / 0.983 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.9184, allocations: 3.984 kB / 0.983 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.9184, allocations: 4 kB / 0.983 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.9184, allocations: 4 kB / 0.983 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.9189, allocations: 248.9 kB / 0.9832 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.786e-05/0.919, allocations: 42.5 kB / 0.9833 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.919, allocations: 3.953 kB / 0.9833 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.9193, allocations: 55.5 kB / 0.9833 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.9193, allocations: 0 / 0.9833 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0002821/0.9196, allocations: 73.67 kB / 0.9834 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.9197, allocations: 55.34 kB / 0.9834 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.9198, allocations: 105.8 kB / 0.9835 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.9198, allocations: 25.7 kB / 0.9836 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.9199, allocations: 84.12 kB / 0.9837 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.9199, allocations: 19.75 kB / 0.9837 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.9199, allocations: 0 / 0.9837 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.9201, allocations: 314.8 kB / 0.984 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.9202, allocations: 11.98 kB / 0.984 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.275e-05/0.9202, allocations: 35.44 kB / 0.984 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.9203, allocations: 11.98 kB / 0.984 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.9203, allocations: 4 kB / 0.984 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001404/0.9204, allocations: 73.52 kB / 0.9841 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.9205, allocations: 5.562 kB / 0.9841 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9205, allocations: 0 / 0.9841 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.9205, allocations: 4 kB / 0.9841 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.9206, allocations: 16.05 kB / 0.9841 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.9206, allocations: 0 / 0.9841 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3e-05/0.9206, allocations: 4 kB / 0.9841 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.9207, allocations: 4 kB / 0.9841 GB, free: 2.625 MB / 0.7325 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.0001268/0.9208, allocations: 113.8 kB / 0.9842 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.9208, allocations: 11.86 kB / 0.9843 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.9209, allocations: 3.562 kB / 0.9843 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.9209, allocations: 4 kB / 0.9843 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.9209, allocations: 3.938 kB / 0.9843 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9209, allocations: 4.281 kB / 0.9843 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.9213, allocations: 290.6 kB / 0.9845 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.9213, allocations: 7.953 kB / 0.9846 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.9213, allocations: 0 / 0.9846 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.9214, allocations: 7.984 kB / 0.9846 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.9214, allocations: 4.312 kB / 0.9846 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.9214, allocations: 3.984 kB / 0.9846 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9214, allocations: 4 kB / 0.9846 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.9216, allocations: 163.5 kB / 0.9847 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.9217, allocations: 84.97 kB / 0.9848 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.9217, allocations: 4 kB / 0.9848 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.276e-05/0.9217, allocations: 3.984 kB / 0.9848 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.9218, allocations: 0 / 0.9848 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.9218, allocations: 7.938 kB / 0.9848 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.103e-05/0.9218, allocations: 75.28 kB / 0.9849 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9219, allocations: 0 / 0.9849 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003119/0.9222, allocations: 31.98 kB / 0.9849 GB, free: 1.715 MB / 0.7325 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.0009781/0.9232, allocations: 0.7758 MB / 0.9857 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.9233, allocations: 32.05 kB / 0.9857 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.9233, allocations: 0 / 0.9857 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/0.9234, allocations: 15.94 kB / 0.9857 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.9235, allocations: 4 kB / 0.9857 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009271/0.9245, allocations: 0.786 MB / 0.9865 GB, free: 24 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.9248, allocations: 0.6809 MB / 0.9872 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.9249, allocations: 7.938 kB / 0.9872 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.9249, allocations: 15.42 kB / 0.9872 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of SimCode: time 3.6e-07/0.9249, allocations: 4 kB / 0.9872 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.9376, allocations: 1.722 MB / 0.9889 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.9379, allocations: 244.5 kB / 0.9891 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/3.027, allocations: 0 / 0.9891 GB, free: 13.48 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat does not exist to compare? outputFormat=mat