Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.004208/0.004208, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001197/0.001197, allocations: 201.4 kB / 16.68 MB, free: 5.969 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.547/2.547, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2555, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001579/0.2571, allocations: 0.7033 MB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008162/0.258, allocations: 0.8351 MB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.258, allocations: 4 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.258, allocations: 3.938 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.481e-05/0.2581, allocations: 3.938 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.2582, allocations: 19.98 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.582e-05/0.2583, allocations: 51.84 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.2584, allocations: 15.98 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.354e-05/0.2585, allocations: 15.98 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.2585, allocations: 31.84 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2586, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.2586, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.2586, allocations: 7.984 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.2586, allocations: 15.88 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.168e-05/0.2587, allocations: 51.78 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2587, allocations: 3.938 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2587, allocations: 4 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.2588, allocations: 0 / 1.222 GB, free: 12.5 MB / 0.9825 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.0004611/0.2592, allocations: 367.3 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.2593, allocations: 8.031 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.2593, allocations: 30.75 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.2593, allocations: 8.891 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.2595, allocations: 168.4 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2595, allocations: 384 / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.2595, allocations: 12.12 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.2597, allocations: 69.64 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2597, allocations: 0 / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.2597, allocations: 0 / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2597, allocations: 7.938 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.2599, allocations: 43.95 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.2603, allocations: 296.7 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.2605, allocations: 62.55 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.2606, allocations: 36.84 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.2606, allocations: 7.984 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2606, allocations: 30.56 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2606, allocations: 0 / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003659/0.261, allocations: 105.6 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.2611, allocations: 51.41 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.2611, allocations: 117.8 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2612, allocations: 25.7 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.2612, allocations: 92.08 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.2612, allocations: 7.953 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.2613, allocations: 17.72 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2614, allocations: 326.7 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.651e-05/0.2615, allocations: 23.98 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.2616, allocations: 23.97 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.2618, allocations: 56.81 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2618, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002209/0.262, allocations: 85.59 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.262, allocations: 8 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.262, allocations: 320 / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.262, allocations: 0 / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.2621, allocations: 15.92 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2622, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.2622, allocations: 7.984 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.2622, allocations: 15.92 kB / 1.224 GB, free: 10.18 MB / 0.9825 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,intLesThr.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 7.09e-05/0.2623, allocations: 109.8 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.2623, allocations: 7.938 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.2624, allocations: 7.906 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.2624, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2624, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.2624, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.2626, allocations: 185.6 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2626, allocations: 3.938 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.292e-05/0.2627, allocations: 11.98 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.2627, allocations: 0 / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.2627, allocations: 4 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2627, allocations: 0 / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2627, allocations: 4 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.263, allocations: 183.4 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.263, allocations: 89.05 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.263, allocations: 0 / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.2631, allocations: 11.98 kB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.2632, allocations: 8.375 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.2632, allocations: 7.984 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.2633, allocations: 87.22 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2633, allocations: 0 / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001998/0.2635, allocations: 11.94 kB / 1.225 GB, free: 9.363 MB / 0.9825 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 (intLesThr.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.0005438/0.264, allocations: 0.7169 MB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.2642, allocations: 63.88 kB / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.2643, allocations: 0 / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.2644, allocations: 27.97 kB / 1.225 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.2646, allocations: 12 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.266, allocations: 1.326 MB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.2662, allocations: 0.6768 MB / 1.227 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.2663, allocations: 8 kB / 1.227 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.2663, allocations: 19.42 kB / 1.227 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of SimCode: time 4.709e-06/0.2663, allocations: 0 / 1.227 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.996/4.262, allocations: 1.849 MB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/19.92, allocations: 6.547 kB / 1.229 GB, free: 4.645 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches