Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002319/0.002319, allocations: 215.5 kB / 22.26 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.184/3.184, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00315/0.00315, allocations: 67.69 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3793, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002121/0.3814, allocations: 0.718 MB / 1.327 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.3825, allocations: 0.8783 MB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.3826, allocations: 0 / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.568e-05/0.3826, allocations: 3.938 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.647e-05/0.3827, allocations: 3.938 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.3829, allocations: 23.97 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.383, allocations: 47.84 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3831, allocations: 11.98 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.46e-05/0.3832, allocations: 23.92 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.3832, allocations: 19.92 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.3833, allocations: 4 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.3833, allocations: 12 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.3833, allocations: 11.97 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.3833, allocations: 19.88 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.3834, allocations: 48.06 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3835, allocations: 3.938 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3835, allocations: 0 / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.3835, allocations: 0 / 1.328 GB, free: 144 kB / 1.014 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.0005596/0.384, allocations: 282.2 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3841, allocations: 12.03 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.3841, allocations: 38.69 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.3841, allocations: 0.9375 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3843, allocations: 122.4 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.3843, allocations: 4.375 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.3843, allocations: 4.125 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.3845, allocations: 69.64 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3845, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.3845, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3845, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.3847, allocations: 59.89 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.3852, allocations: 251.9 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.3854, allocations: 58.53 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3855, allocations: 36.92 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.3856, allocations: 8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3856, allocations: 30.56 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3856, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004066/0.386, allocations: 113.6 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.386, allocations: 51.41 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.3861, allocations: 109.8 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3862, allocations: 29.7 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.3862, allocations: 84.14 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.3862, allocations: 11.84 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.3863, allocations: 25.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3864, allocations: 314.8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3865, allocations: 31.91 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.996e-05/0.3866, allocations: 24.17 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.3868, allocations: 52.89 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3868, allocations: 4 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002199/0.387, allocations: 77.64 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3871, allocations: 8 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3871, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3871, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3872, allocations: 23.98 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3872, allocations: 3.938 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.132e-05/0.3873, allocations: 15.88 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.3873, allocations: 3.938 kB / 1.33 GB, free: 14.02 MB / 1.029 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 9.647e-05/0.3874, allocations: 110.4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.3874, allocations: 8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.3874, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3874, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3874, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3874, allocations: 3.984 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3876, allocations: 148.7 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3876, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.3877, allocations: 15.92 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3877, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3878, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3878, allocations: 3.984 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3878, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.3881, allocations: 195.3 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.3881, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.3881, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/0.3882, allocations: 7.984 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.3883, allocations: 11.98 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.3883, allocations: 4 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.743e-05/0.3883, allocations: 91.22 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 4e-08/0.3883, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002212/0.3886, allocations: 8 kB / 1.33 GB, free: 13.34 MB / 1.029 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.0006855/0.3892, allocations: 0.7124 MB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.3895, allocations: 59.89 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3895, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3896, allocations: 28.2 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.39, allocations: 8 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.3918, allocations: 1.329 MB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3922, allocations: 0.6807 MB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.3922, allocations: 7.984 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.3923, allocations: 15.44 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3923, allocations: 0 / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.4232, allocations: 1.973 MB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.23, allocations: 15.39 kB / 1.335 GB, free: 8.531 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intLesEquThr.t in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.t from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.u in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.u from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.135006573000283]