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.001686/0.001686, allocations: 108.6 kB / 16.45 MB, free: 6.453 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.002173/0.002173, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.296/3.296, allocations: 0.49 GB / 0.7916 GB, free: 33.55 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.002065/0.002065, allocations: 68.97 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3519, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002049/0.3539, allocations: 0.7043 MB / 1.322 GB, free: 2.605 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.355, allocations: 0.8748 MB / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.3551, allocations: 0 / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.3551, allocations: 3.938 kB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.916e-05/0.3552, allocations: 3.938 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.3554, allocations: 27.91 kB / 1.322 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.623e-05/0.3555, allocations: 43.84 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3556, allocations: 15.98 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.3557, allocations: 19.92 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.912e-05/0.3557, allocations: 27.91 kB / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.3557, allocations: 8 kB / 1.322 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.3558, allocations: 4 kB / 1.323 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.3558, allocations: 4 kB / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/0.3558, allocations: 23.84 kB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3559, allocations: 48.09 kB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3559, allocations: 0 / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3559, allocations: 0 / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.356, allocations: 3.984 kB / 1.323 GB, free: 1.488 MB / 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.0005992/0.3565, allocations: 351.3 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3566, allocations: 15.98 kB / 1.323 GB, free: 1.082 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.3566, allocations: 46.61 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.3567, allocations: 4.938 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.3568, allocations: 176.2 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.3569, allocations: 4.375 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3569, allocations: 8.125 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.3571, allocations: 65.66 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3571, allocations: 4 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3571, allocations: 4 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3571, allocations: 0 / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.3573, allocations: 51.94 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.3579, allocations: 288.8 kB / 1.324 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.3581, allocations: 62.56 kB / 1.324 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3582, allocations: 28.89 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3582, allocations: 0 / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.3583, allocations: 34.56 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.3583, allocations: 0 / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004523/0.3587, allocations: 117.5 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3588, allocations: 55.41 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.3589, allocations: 109.8 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3589, allocations: 29.7 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.359, allocations: 80.14 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.359, allocations: 15.98 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.359, allocations: 17.7 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3592, allocations: 318.8 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.3593, allocations: 27.97 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.549e-05/0.3594, allocations: 19.98 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.3596, allocations: 52.81 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3596, allocations: 3.938 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002546/0.3598, allocations: 81.64 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3599, allocations: 8 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3599, allocations: 4 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3599, allocations: 0 / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.36, allocations: 11.98 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.36, allocations: 3.938 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.812e-05/0.3601, allocations: 15.88 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.3601, allocations: 7.938 kB / 1.325 GB, free: 15.17 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 8.972e-05/0.3602, allocations: 109.8 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.3602, allocations: 4 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.3602, allocations: 11.91 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3602, allocations: 0 / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3602, allocations: 0 / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3603, allocations: 3.984 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.3605, allocations: 181.5 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3605, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.345e-05/0.3606, allocations: 15.92 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3606, allocations: 0 / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3606, allocations: 3.984 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3606, allocations: 0 / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3606, allocations: 4 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.3609, allocations: 187.4 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.3609, allocations: 77.11 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.3609, allocations: 0 / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3611, allocations: 15.98 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.3611, allocations: 8 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3611, allocations: 11.98 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.3612, allocations: 83.22 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3612, allocations: 0 / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002221/0.3614, allocations: 12 kB / 1.325 GB, free: 14.35 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.0006567/0.3621, allocations: 0.7245 MB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.3623, allocations: 47.95 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3623, allocations: 4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3624, allocations: 35.91 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.3627, allocations: 8.391 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.3645, allocations: 1.323 MB / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.3648, allocations: 0.6808 MB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.039e-05/0.3648, allocations: 4 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.816e-05/0.3649, allocations: 31.36 kB / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3649, allocations: 0 / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.39, allocations: 1.846 MB / 1.33 GB, free: 9.645 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.478, allocations: 10.11 kB / 1.33 GB, free: 9.637 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.383569149998948]