Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.245/2.245, allocations: 390.3 MB / 402.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.3 MB / 0.7915 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008564/0.0008564, allocations: 87.97 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.176e-05/4.189e-05, allocations: 11.98 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.258, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8966/1.155, allocations: 154.1 MB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/1.155, allocations: 72.41 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03166/1.187, allocations: 11.13 MB / 1.38 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.187, allocations: 0 / 1.38 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.365e-05/1.187, allocations: 15.98 kB / 1.38 GB, free: 6.504 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009386/1.188, allocations: 0.53 MB / 1.381 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.188, allocations: 12.02 kB / 1.381 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/1.188, allocations: 37.88 kB / 1.381 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/1.188, allocations: 35.58 kB / 1.381 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008333/1.189, allocations: 404.9 kB / 1.381 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/1.189, allocations: 8 kB / 1.381 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/1.189, allocations: 7.625 kB / 1.381 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/1.189, allocations: 106.9 kB / 1.381 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/1.189, allocations: 0 / 1.381 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/1.189, allocations: 6.609 kB / 1.381 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/1.189, allocations: 4 kB / 1.381 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/1.189, allocations: 60.19 kB / 1.382 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000886/1.19, allocations: 0.5135 MB / 1.382 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/1.19, allocations: 135 kB / 1.382 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.9e-05/1.19, allocations: 46.55 kB / 1.382 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/1.19, allocations: 3.953 kB / 1.382 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/1.191, allocations: 112.5 kB / 1.382 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/1.191, allocations: 0 / 1.382 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003613/1.191, allocations: 181 kB / 1.382 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/1.191, allocations: 55.41 kB / 1.383 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005795/1.192, allocations: 466.8 kB / 1.383 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/1.192, allocations: 25.7 kB / 1.383 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/1.192, allocations: 172.3 kB / 1.383 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/1.192, allocations: 42.62 kB / 1.383 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/1.192, allocations: 18.75 kB / 1.383 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.192, allocations: 344.9 kB / 1.384 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/1.192, allocations: 111.5 kB / 1.384 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/1.192, allocations: 145.2 kB / 1.384 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/1.193, allocations: 124.4 kB / 1.384 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/1.193, allocations: 0 / 1.384 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005325/1.193, allocations: 355.4 kB / 1.384 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.193, allocations: 13.36 kB / 1.384 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.193, allocations: 0 / 1.384 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.193, allocations: 0 / 1.384 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/1.194, allocations: 51.91 kB / 1.384 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.194, allocations: 3.984 kB / 1.384 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/1.194, allocations: 31.33 kB / 1.384 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/1.194, allocations: 8 kB / 1.384 GB, free: 2.84 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.773e-05/1.194, allocations: 123.5 kB / 1.384 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/1.194, allocations: 35.61 kB / 1.384 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/1.194, allocations: 202.3 kB / 1.385 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.194, allocations: 4 kB / 1.385 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.194, allocations: 0 / 1.385 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.194, allocations: 3.984 kB / 1.385 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/1.195, allocations: 310.7 kB / 1.385 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/1.195, allocations: 0 / 1.385 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/1.195, allocations: 12 kB / 1.385 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/1.195, allocations: 11.98 kB / 1.385 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/1.195, allocations: 0 / 1.385 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.195, allocations: 3.953 kB / 1.385 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.195, allocations: 4 kB / 1.385 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/1.195, allocations: 217.2 kB / 1.385 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/1.195, allocations: 124.1 kB / 1.385 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/1.195, allocations: 2.688 kB / 1.385 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/1.195, allocations: 15.98 kB / 1.385 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/1.195, allocations: 26.48 kB / 1.385 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/1.195, allocations: 4 kB / 1.385 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003963/1.196, allocations: 318.4 kB / 1.386 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.3e-07/1.196, allocations: 0 / 1.386 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003275/1.196, allocations: 66.81 kB / 1.386 GB, free: 1.504 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001428/1.198, allocations: 1.025 MB / 1.387 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003237/1.198, allocations: 196.3 kB / 1.387 GB, free: 488 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.198, allocations: 0 / 1.387 GB, free: 488 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/1.198, allocations: 68.86 kB / 1.387 GB, free: 436 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/1.199, allocations: 78.59 kB / 1.387 GB, free: 376 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/1.2, allocations: 0.5375 MB / 1.388 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/1.2, allocations: 0.793 MB / 1.388 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001799/1.2, allocations: 62.91 kB / 1.388 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/1.2, allocations: 108.3 kB / 1.389 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of SimCode: time 4e-07/1.2, allocations: 0 / 1.389 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/1.221, allocations: 7.078 MB / 1.395 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/1.221, allocations: 202.8 kB / 1.396 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/3.374, allocations: 0 / 1.396 GB, free: 7.816 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat does not exist to compare? outputFormat=mat