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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.01019/0.01019, allocations: 102.1 kB / 15.73 MB, free: 6.055 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.002565/0.002565, allocations: 191.4 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.984/1.984, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.101/4.101, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002462/0.002462, allocations: 71.89 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772/1.775, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.004078/1.779, allocations: 0.7047 MB / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002016/1.781, allocations: 0.8434 MB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/1.781, allocations: 1.156 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.629e-05/1.781, allocations: 4.641 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/1.781, allocations: 4.453 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/1.781, allocations: 23.91 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/1.781, allocations: 40.14 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/1.782, allocations: 13.16 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/1.782, allocations: 25.7 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/1.782, allocations: 21.64 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/1.782, allocations: 3.938 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/1.782, allocations: 4.562 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/1.782, allocations: 15.97 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.689e-05/1.782, allocations: 17.19 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/1.782, allocations: 56.73 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.782, allocations: 0.7031 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.507e-06/1.782, allocations: 1.062 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.936e-06/1.782, allocations: 0 / 1.089 GB, free: 4.043 MB / 0.8575 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.0007431/1.783, allocations: 358.2 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/1.783, allocations: 9.562 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/1.783, allocations: 37.11 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/1.783, allocations: 6.875 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/1.784, allocations: 169.4 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/1.784, allocations: 1.5 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/1.784, allocations: 6.688 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/1.784, allocations: 72.72 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.784, allocations: 0 / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/1.784, allocations: 1.062 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.784, allocations: 1.125 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003649/1.784, allocations: 55.95 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/1.785, allocations: 287.5 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/1.785, allocations: 62.47 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/1.786, allocations: 32 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/1.786, allocations: 2.312 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.786, allocations: 35.62 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/1.786, allocations: 0 / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0007406/1.786, allocations: 104.7 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/1.787, allocations: 57 kB / 1.09 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/1.787, allocations: 111.4 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/1.787, allocations: 29.7 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/1.787, allocations: 91.52 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/1.787, allocations: 13.77 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/1.787, allocations: 20.69 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/1.787, allocations: 321.9 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/1.787, allocations: 25.31 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/1.787, allocations: 23.62 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/1.788, allocations: 54.88 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.788, allocations: 0 / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003884/1.788, allocations: 87.16 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/1.788, allocations: 5.906 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.788, allocations: 0 / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/1.788, allocations: 1.094 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/1.788, allocations: 12.12 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/1.788, allocations: 7.938 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/1.789, allocations: 11.31 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/1.789, allocations: 5.953 kB / 1.091 GB, free: 2.195 MB / 0.8575 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 (reaToInt.y,intLesEquThr.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.789, allocations: 112.9 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/1.789, allocations: 2.406 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/1.789, allocations: 9.953 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/1.789, allocations: 5.562 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.789, allocations: 0 / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.789, allocations: 5.109 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/1.789, allocations: 178.4 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/1.789, allocations: 0 / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/1.789, allocations: 11.67 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.789, allocations: 0.6875 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/1.789, allocations: 1.406 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.789, allocations: 1.312 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.789, allocations: 0 / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/1.79, allocations: 191.9 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/1.79, allocations: 79.97 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/1.79, allocations: 1.031 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/1.79, allocations: 11.67 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/1.79, allocations: 7 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/1.79, allocations: 5.953 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.766e-05/1.79, allocations: 86.77 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.79, allocations: 0.9375 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003826/1.791, allocations: 13.88 kB / 1.092 GB, free: 1.512 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008654/1.791, allocations: 0.72 MB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004438/1.792, allocations: 60.11 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.792, allocations: 0 / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/1.792, allocations: 33.47 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/1.793, allocations: 4.203 kB / 1.093 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/1.796, allocations: 1.325 MB / 1.094 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/1.796, allocations: 0.6889 MB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.906e-05/1.796, allocations: 3.641 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/1.796, allocations: 21.61 kB / 1.095 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of SimCode: time 1.172e-06/1.796, allocations: 0 / 1.095 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/1.834, allocations: 1.841 MB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/13.53, allocations: 5.062 kB / 1.097 GB, free: 14.5 MB / 0.8731 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/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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches