Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",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.001224/0.001224, allocations: 86.95 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.001574/0.001575, 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.431/1.431, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.657/2.657, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7376/0.7379, allocations: 146.8 MB / 0.9811 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001373/0.7393, allocations: 0.9411 MB / 0.9821 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.7403, allocations: 409.2 kB / 0.9824 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.7403, allocations: 0 / 0.9824 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.7404, allocations: 0 / 0.9824 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.7404, allocations: 0 / 0.9824 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.741, allocations: 99.7 kB / 0.9825 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.93e-05/0.7411, allocations: 19.92 kB / 0.9826 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.7411, allocations: 4 kB / 0.9826 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.7411, allocations: 11.92 kB / 0.9826 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.626e-05/0.7412, allocations: 11.98 kB / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.7412, allocations: 0 / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.7415, allocations: 99.83 kB / 0.9827 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.7415, allocations: 8 kB / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.7415, allocations: 25.7 kB / 0.9827 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.7417, allocations: 67.89 kB / 0.9828 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.7417, allocations: 0 / 0.9828 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7417, allocations: 3.938 kB / 0.9828 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.7417, allocations: 0 / 0.9828 GB, free: 4.516 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005216/0.7423, allocations: 387.2 kB / 0.9831 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.7423, allocations: 8.031 kB / 0.9832 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.542e-05/0.7424, allocations: 34.56 kB / 0.9832 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.7424, allocations: 7.906 kB / 0.9832 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.7426, allocations: 167 kB / 0.9834 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.7426, allocations: 4 kB / 0.9834 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.7426, allocations: 0 / 0.9834 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.7427, allocations: 49.62 kB / 0.9834 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.7428, allocations: 4 kB / 0.9834 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.7428, allocations: 0 / 0.9834 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.7428, allocations: 4 kB / 0.9834 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.7428, allocations: 11.94 kB / 0.9834 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.7432, allocations: 249 kB / 0.9837 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.463e-05/0.7432, allocations: 26.58 kB / 0.9837 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.7433, allocations: 28.92 kB / 0.9837 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-06/0.7433, allocations: 4 kB / 0.9837 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.7435, allocations: 55.34 kB / 0.9838 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 3.226e-06/0.7435, allocations: 3.984 kB / 0.9838 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0002505/0.7437, allocations: 81.77 kB / 0.9839 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.7438, allocations: 55.41 kB / 0.9839 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.326e-05/0.7439, allocations: 109.9 kB / 0.984 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.7439, allocations: 29.7 kB / 0.984 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.7439, allocations: 84.14 kB / 0.9841 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.744, allocations: 15.8 kB / 0.9841 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.744, allocations: 0 / 0.9841 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.7441, allocations: 318.8 kB / 0.9844 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.7441, allocations: 4 kB / 0.9844 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.055e-05/0.7442, allocations: 52.16 kB / 0.9845 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/0.7442, allocations: 16 kB / 0.9845 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.7442, allocations: 0 / 0.9845 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001185/0.7444, allocations: 89.44 kB / 0.9846 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.7444, allocations: 4 kB / 0.9846 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7444, allocations: 0 / 0.9846 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.7444, allocations: 8.094 kB / 0.9846 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.7445, allocations: 11.98 kB / 0.9846 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7445, allocations: 4 kB / 0.9846 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.7445, allocations: 7.844 kB / 0.9846 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.7446, allocations: 4 kB / 0.9846 GB, free: 2.363 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 8.516e-05/0.7446, allocations: 117.8 kB / 0.9847 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.7447, allocations: 3.953 kB / 0.9847 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.7447, allocations: 7.969 kB / 0.9848 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.7447, allocations: 4 kB / 0.9848 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7447, allocations: 4 kB / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7447, allocations: 3.984 kB / 0.9848 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.745, allocations: 298.6 kB / 0.9851 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.745, allocations: 3.984 kB / 0.9851 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.745, allocations: 7.938 kB / 0.9851 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.745, allocations: 0 / 0.9851 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.745, allocations: 0 / 0.9851 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7451, allocations: 0 / 0.9851 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7451, allocations: 0 / 0.9851 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.7452, allocations: 175.4 kB / 0.9852 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.7453, allocations: 85.06 kB / 0.9853 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.7453, allocations: 384 / 0.9853 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.5e-05/0.7454, allocations: 0 / 0.9853 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.7454, allocations: 0 / 0.9853 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.7454, allocations: 11.98 kB / 0.9853 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.7455, allocations: 83.28 kB / 0.9854 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7455, allocations: 0 / 0.9854 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002992/0.7458, allocations: 43.98 kB / 0.9854 GB, free: 1.43 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 (6): * Single equations (assignments): 4 * 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.0007916/0.7466, allocations: 0.7907 MB / 0.9862 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.7467, allocations: 39.92 kB / 0.9863 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7467, allocations: 0 / 0.9863 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.7468, allocations: 19.98 kB / 0.9863 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.747, allocations: 5.375 kB / 0.9863 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006804/0.7477, allocations: 435.8 kB / 0.9867 GB, free: 80 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.7479, allocations: 0.6809 MB / 0.9874 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.748, allocations: 4 kB / 0.9874 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.748, allocations: 15.42 kB / 0.9874 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.748, allocations: 4 kB / 0.9874 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.7614, allocations: 1.869 MB / 0.9892 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003093/0.7618, allocations: 232 kB / 0.9894 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.639, allocations: 0 / 0.9894 GB, free: 13.37 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat does not exist to compare? outputFormat=mat