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.000999/0.0009988, allocations: 99.7 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.001044/0.001044, 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.53/1.53, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.875/2.875, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004167, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8443/0.8448, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00123/0.8461, allocations: 0.9449 MB / 0.9818 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000739/0.8468, allocations: 409.4 kB / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.8469, allocations: 8 kB / 0.9822 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.8469, allocations: 3.938 kB / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.647e-05/0.8469, allocations: 7.984 kB / 0.9822 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.8474, allocations: 75.78 kB / 0.9823 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.8474, allocations: 15.92 kB / 0.9823 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.8475, allocations: 0 / 0.9823 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.668e-05/0.8475, allocations: 8 kB / 0.9823 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.118e-05/0.8476, allocations: 19.84 kB / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.8476, allocations: 4 kB / 0.9823 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.8478, allocations: 75.92 kB / 0.9824 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.8478, allocations: 15.92 kB / 0.9824 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.8478, allocations: 29.7 kB / 0.9824 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.848, allocations: 63.89 kB / 0.9825 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.848, allocations: 0 / 0.9825 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.184e-06/0.848, allocations: 0 / 0.9825 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.848, allocations: 0 / 0.9825 GB, free: 4.617 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.0004389/0.8484, allocations: 379.2 kB / 0.9828 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.8485, allocations: 8.031 kB / 0.9828 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.233e-05/0.8486, allocations: 42.55 kB / 0.9829 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.8486, allocations: 7.906 kB / 0.9829 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.72e-05/0.8487, allocations: 167 kB / 0.9831 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.8487, allocations: 4 kB / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.8488, allocations: 7.984 kB / 0.9831 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.8489, allocations: 49.56 kB / 0.9831 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.8489, allocations: 4 kB / 0.9831 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.8489, allocations: 0 / 0.9831 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8489, allocations: 0 / 0.9831 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.351e-05/0.8489, allocations: 8 kB / 0.9831 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.8493, allocations: 249 kB / 0.9834 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.29e-05/0.8493, allocations: 30.56 kB / 0.9834 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.8493, allocations: 8.016 kB / 0.9834 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.8495, allocations: 59.39 kB / 0.9835 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.8495, allocations: 4 kB / 0.9835 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0002107/0.8497, allocations: 81.78 kB / 0.9835 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.8498, allocations: 63.38 kB / 0.9836 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.8498, allocations: 97.86 kB / 0.9837 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.8499, allocations: 33.64 kB / 0.9837 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.8499, allocations: 84.14 kB / 0.9838 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.8499, allocations: 11.8 kB / 0.9838 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.8499, allocations: 8 kB / 0.9838 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.85, allocations: 314.8 kB / 0.9841 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.8501, allocations: 11.98 kB / 0.9841 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-05/0.8501, allocations: 36.3 kB / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.6e-05/0.8502, allocations: 19.98 kB / 0.9842 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.8502, allocations: 0 / 0.9842 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001039/0.8503, allocations: 81.52 kB / 0.9843 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.8503, allocations: 4 kB / 0.9843 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8503, allocations: 0 / 0.9843 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.8503, allocations: 7.938 kB / 0.9843 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.8504, allocations: 15.98 kB / 0.9843 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.8504, allocations: 7.938 kB / 0.9843 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.8504, allocations: 7.844 kB / 0.9843 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.8505, allocations: 4 kB / 0.9843 GB, free: 2.488 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.025e-05/0.8505, allocations: 118.1 kB / 0.9844 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.8506, allocations: 7.891 kB / 0.9844 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.8506, allocations: 7.953 kB / 0.9844 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.8506, allocations: 4 kB / 0.9844 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8506, allocations: 0 / 0.9844 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8506, allocations: 0 / 0.9844 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.8509, allocations: 306.6 kB / 0.9847 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.8509, allocations: 3.953 kB / 0.9847 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.8509, allocations: 4 kB / 0.9847 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.8509, allocations: 4 kB / 0.9847 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.8509, allocations: 0 / 0.9847 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8509, allocations: 0 / 0.9847 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.8509, allocations: 3.984 kB / 0.9848 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.8511, allocations: 167.9 kB / 0.9849 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.8511, allocations: 89.14 kB / 0.985 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.8512, allocations: 4 kB / 0.985 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.8512, allocations: 4 kB / 0.985 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.8513, allocations: 15.92 kB / 0.985 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.8513, allocations: 0 / 0.985 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.249e-05/0.8513, allocations: 79.28 kB / 0.9851 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8513, allocations: 0 / 0.9851 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002742/0.8516, allocations: 35.98 kB / 0.9851 GB, free: 1.551 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.0006494/0.8522, allocations: 0.785 MB / 0.9859 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.8524, allocations: 39.92 kB / 0.9859 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8524, allocations: 0 / 0.9859 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.8524, allocations: 23.92 kB / 0.986 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.8526, allocations: 0 / 0.986 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.8532, allocations: 0.9614 MB / 0.9869 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.8535, allocations: 0.6809 MB / 0.9876 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.33e-05/0.8535, allocations: 3.984 kB / 0.9876 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.8535, allocations: 15.44 kB / 0.9876 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.8536, allocations: 0 / 0.9876 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.8647, allocations: 1.843 MB / 0.9894 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.8649, allocations: 226.3 kB / 0.9896 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.661, allocations: 3.375 kB / 0.9896 GB, free: 12.97 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