Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.0008712/0.0008714, 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.001372/0.001371, 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.516/1.516, allocations: 223.3 MB / 240 MB, free: 5.32 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.537/2.537, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003796, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8473/0.8477, allocations: 142.3 MB / 0.9539 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0009321/0.8486, allocations: 415 kB / 0.9543 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.8498, allocations: 0.8263 MB / 0.9551 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.8498, allocations: 1.25 kB / 0.9551 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.8499, allocations: 7.875 kB / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.567e-05/0.85, allocations: 0 / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.8501, allocations: 16.78 kB / 0.9551 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.689e-05/0.8502, allocations: 42.48 kB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.8503, allocations: 13.48 kB / 0.9552 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.341e-05/0.8504, allocations: 14.33 kB / 0.9552 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.327e-05/0.8505, allocations: 22.88 kB / 0.9552 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.8505, allocations: 5.406 kB / 0.9552 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.8505, allocations: 2.688 kB / 0.9552 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.8506, allocations: 5.453 kB / 0.9552 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.8506, allocations: 35.05 kB / 0.9552 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.894e-05/0.8507, allocations: 34.55 kB / 0.9553 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8507, allocations: 0 / 0.9553 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8507, allocations: 0 / 0.9553 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.8507, allocations: 5.344 kB / 0.9553 GB, free: 7.008 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004449/0.8512, allocations: 349.5 kB / 0.9556 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.8512, allocations: 10.19 kB / 0.9556 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.8513, allocations: 35.75 kB / 0.9556 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.8513, allocations: 6 kB / 0.9557 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.8514, allocations: 169.3 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.8514, allocations: 9.328 kB / 0.9558 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.8514, allocations: 6.281 kB / 0.9558 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.8516, allocations: 68.97 kB / 0.9559 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.8517, allocations: 0 / 0.9559 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.8517, allocations: 5.141 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.8517, allocations: 1.25 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.8519, allocations: 60.67 kB / 0.956 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.8523, allocations: 290 kB / 0.9562 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.8525, allocations: 68.7 kB / 0.9563 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.8526, allocations: 38.67 kB / 0.9563 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.8526, allocations: 5.562 kB / 0.9563 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.8527, allocations: 30.56 kB / 0.9564 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.8527, allocations: 9.781 kB / 0.9564 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004217/0.8531, allocations: 118.3 kB / 0.9565 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.8531, allocations: 51.41 kB / 0.9565 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.8532, allocations: 115.7 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.8532, allocations: 29.64 kB / 0.9567 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.8533, allocations: 94.75 kB / 0.9568 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.8533, allocations: 9.062 kB / 0.9568 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.8533, allocations: 0 / 0.9568 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.8534, allocations: 316.2 kB / 0.9571 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.8535, allocations: 33.19 kB / 0.9571 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.8536, allocations: 25.95 kB / 0.9571 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.429e-05/0.8537, allocations: 28.97 kB / 0.9572 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8537, allocations: 3.938 kB / 0.9572 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002227/0.8539, allocations: 98.88 kB / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.8539, allocations: 4.719 kB / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.854, allocations: 5.25 kB / 0.9573 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.854, allocations: 0 / 0.9573 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.8541, allocations: 18.17 kB / 0.9573 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.8541, allocations: 4.062 kB / 0.9573 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.8542, allocations: 15.69 kB / 0.9573 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.8542, allocations: 9.297 kB / 0.9573 GB, free: 5.039 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.574e-05/0.8543, allocations: 108.2 kB / 0.9574 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.8543, allocations: 6.234 kB / 0.9574 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.8543, allocations: 9.031 kB / 0.9574 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.8543, allocations: 0 / 0.9574 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.8544, allocations: 1.125 kB / 0.9574 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8544, allocations: 4 kB / 0.9574 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.8545, allocations: 175.4 kB / 0.9576 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8545, allocations: 1.156 kB / 0.9576 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.781e-05/0.8546, allocations: 21.67 kB / 0.9576 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.8546, allocations: 1.188 kB / 0.9576 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.8546, allocations: 3.953 kB / 0.9576 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.8547, allocations: 1.188 kB / 0.9576 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8547, allocations: 0 / 0.9576 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.8549, allocations: 192.9 kB / 0.9578 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.855, allocations: 79.27 kB / 0.9579 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.855, allocations: 3.984 kB / 0.9579 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.8551, allocations: 19.11 kB / 0.9579 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.8552, allocations: 12.61 kB / 0.9579 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.8552, allocations: 5.141 kB / 0.9579 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.8552, allocations: 84.19 kB / 0.958 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8552, allocations: 0 / 0.958 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002226/0.8555, allocations: 7.156 kB / 0.958 GB, free: 4.316 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0004633/0.8559, allocations: 0.7276 MB / 0.9587 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.8562, allocations: 71.72 kB / 0.9588 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8562, allocations: 0 / 0.9588 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.8563, allocations: 43.36 kB / 0.9588 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.8566, allocations: 11.08 kB / 0.9589 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008869/0.8575, allocations: 480.6 kB / 0.9593 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.8576, allocations: 0.6845 MB / 0.96 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.844e-05/0.8577, allocations: 3.906 kB / 0.96 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.8577, allocations: 22.41 kB / 0.96 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.8577, allocations: 4 kB / 0.96 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01271/0.8704, allocations: 1.521 MB / 0.9615 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.8707, allocations: 204.5 kB / 0.9617 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.559, allocations: 3.656 kB / 0.9617 GB, free: 1.5 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat