Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Logit2D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_9_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.001247/0.001247, allocations: 100.5 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.001638/0.001638, 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.427/1.427, allocations: 223.2 MB / 239.9 MB, free: 5.258 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.484/2.484, allocations: 390.3 MB / 0.6653 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.000377, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8467/0.8471, allocations: 142.3 MB / 0.9536 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001253/0.8484, allocations: 0.9405 MB / 0.9545 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006667/0.8491, allocations: 420.8 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.8492, allocations: 5.438 kB / 0.9549 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.8492, allocations: 0 / 0.9549 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.746e-05/0.8492, allocations: 8 kB / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.8496, allocations: 83.06 kB / 0.955 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.121e-05/0.8497, allocations: 13.59 kB / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.8497, allocations: 1.125 kB / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.8498, allocations: 13.23 kB / 0.955 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.593e-05/0.8498, allocations: 6.25 kB / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.8498, allocations: 2.25 kB / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.85, allocations: 84.38 kB / 0.9551 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.85, allocations: 4.688 kB / 0.9551 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.8501, allocations: 36.16 kB / 0.9551 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.8502, allocations: 69.77 kB / 0.9552 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.8502, allocations: 0 / 0.9552 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8502, allocations: 1.219 kB / 0.9552 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.8502, allocations: 0 / 0.9552 GB, free: 6.863 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003676/0.8506, allocations: 378.4 kB / 0.9556 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.8506, allocations: 8.812 kB / 0.9556 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.7e-05/0.8507, allocations: 36 kB / 0.9556 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.8507, allocations: 10.67 kB / 0.9556 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.194e-05/0.8508, allocations: 172.3 kB / 0.9558 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.8509, allocations: 5.078 kB / 0.9558 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.8509, allocations: 3.625 kB / 0.9558 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.851, allocations: 40.38 kB / 0.9558 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.851, allocations: 1.125 kB / 0.9558 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.851, allocations: 0 / 0.9558 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.851, allocations: 1.188 kB / 0.9558 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.633e-05/0.8511, allocations: 16.23 kB / 0.9559 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.8514, allocations: 254.6 kB / 0.9561 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.63e-05/0.8514, allocations: 26.77 kB / 0.9561 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.8515, allocations: 1.406 kB / 0.9561 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.8516, allocations: 66.02 kB / 0.9562 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.8516, allocations: 0 / 0.9562 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002267/0.8519, allocations: 88.88 kB / 0.9563 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.8519, allocations: 53.59 kB / 0.9563 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.686e-05/0.852, allocations: 107.7 kB / 0.9564 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.852, allocations: 26.73 kB / 0.9565 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.852, allocations: 85.36 kB / 0.9565 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.852, allocations: 14.23 kB / 0.9565 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.852, allocations: 4 kB / 0.9565 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.956e-05/0.8521, allocations: 321.1 kB / 0.9569 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.8521, allocations: 12.78 kB / 0.9569 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.322e-05/0.8522, allocations: 40.94 kB / 0.9569 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.196e-05/0.8522, allocations: 16.53 kB / 0.9569 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8522, allocations: 0 / 0.9569 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.994e-05/0.8523, allocations: 77.92 kB / 0.957 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.8523, allocations: 7.281 kB / 0.957 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.8524, allocations: 1.438 kB / 0.957 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.8524, allocations: 1.469 kB / 0.957 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.8524, allocations: 20.7 kB / 0.957 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.8525, allocations: 3.188 kB / 0.957 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.8525, allocations: 8.719 kB / 0.957 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.8525, allocations: 2.938 kB / 0.957 GB, free: 4.941 MB / 0.7169 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 6.192e-05/0.8526, allocations: 117.3 kB / 0.9572 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.8526, allocations: 6.094 kB / 0.9572 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.8526, allocations: 5.281 kB / 0.9572 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.8526, allocations: 1.406 kB / 0.9572 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8526, allocations: 3.953 kB / 0.9572 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.8526, allocations: 3.984 kB / 0.9572 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.8528, allocations: 305.1 kB / 0.9575 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8529, allocations: 1.656 kB / 0.9575 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.8529, allocations: 4.438 kB / 0.9575 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8529, allocations: 0 / 0.9575 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.8529, allocations: 1.281 kB / 0.9575 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.8529, allocations: 17.34 kB / 0.9575 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8529, allocations: 0 / 0.9575 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.853, allocations: 170.1 kB / 0.9576 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.8531, allocations: 79.3 kB / 0.9577 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.8531, allocations: 7.984 kB / 0.9577 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.937e-05/0.8531, allocations: 1.375 kB / 0.9577 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.8532, allocations: 5.172 kB / 0.9577 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.8532, allocations: 6.875 kB / 0.9577 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.223e-05/0.8532, allocations: 86.2 kB / 0.9578 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8532, allocations: 1.5 kB / 0.9578 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002871/0.8535, allocations: 32.38 kB / 0.9579 GB, free: 4.105 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 (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.0005348/0.854, allocations: 0.7767 MB / 0.9586 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.8542, allocations: 34.3 kB / 0.9587 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8542, allocations: 0 / 0.9587 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.8542, allocations: 16.16 kB / 0.9587 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.8543, allocations: 5.453 kB / 0.9587 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.8549, allocations: 0.9668 MB / 0.9596 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.855, allocations: 0.6887 MB / 0.9603 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.294e-05/0.855, allocations: 3.438 kB / 0.9603 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.8551, allocations: 13.88 kB / 0.9603 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8551, allocations: 0 / 0.9603 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.8669, allocations: 1.837 MB / 0.9621 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001308/0.8671, allocations: 225 kB / 0.9623 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.633, allocations: 2.672 kB / 0.9623 GB, free: 0.5117 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat does not exist to compare? outputFormat=mat