Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001011/0.001011, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001051/0.001051, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9005/0.9005, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.654/1.654, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 0 / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.734e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001462/0.00149, allocations: 0.697 MB / 0.9512 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002502, allocations: 0.851 MB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.002548, allocations: 4 kB / 0.952 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.141e-05/0.002589, allocations: 7.922 kB / 0.952 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.002675, allocations: 7.938 kB / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.002833, allocations: 23.86 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.114e-05/0.002914, allocations: 47.91 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.003065, allocations: 11.98 kB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.003192, allocations: 27.91 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.296e-05/0.003275, allocations: 15.98 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.003314, allocations: 4 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.003329, allocations: 4 kB / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.003368, allocations: 19.91 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.003403, allocations: 8 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.003571, allocations: 55.78 kB / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.003576, allocations: 4 kB / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.104e-06/0.003578, allocations: 0 / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.003584, allocations: 3.938 kB / 0.9523 GB, free: 1.656 MB / 0.9011 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.0006105/0.004194, allocations: 286.2 kB / 0.9525 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.004249, allocations: 8.031 kB / 0.9525 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.004283, allocations: 34.73 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.004309, allocations: 8.891 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.896e-05/0.004408, allocations: 105.8 kB / 0.9527 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.004423, allocations: 4.375 kB / 0.9527 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.004432, allocations: 8.375 kB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.004589, allocations: 65.97 kB / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.004597, allocations: 0 / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.004608, allocations: 4 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.004614, allocations: 0 / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.004742, allocations: 59.88 kB / 0.9528 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.005181, allocations: 255.8 kB / 0.9531 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.005345, allocations: 66.53 kB / 0.9531 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.005402, allocations: 24.92 kB / 0.9532 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.005421, allocations: 4 kB / 0.9532 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.005449, allocations: 34.5 kB / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.005451, allocations: 0 / 0.9532 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0002963/0.005747, allocations: 113.5 kB / 0.9533 GB, free: 468 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.005787, allocations: 51.41 kB / 0.9533 GB, free: 404 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.673e-05/0.005863, allocations: 109.8 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.00588, allocations: 29.7 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.005931, allocations: 88.09 kB / 0.9536 GB, free: 156 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.005948, allocations: 3.953 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.005988, allocations: 25.7 kB / 0.9536 GB, free: 120 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.0061, allocations: 318.8 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-05/0.006164, allocations: 23.97 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.006212, allocations: 19.98 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.006324, allocations: 64.75 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.006327, allocations: 0 / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001562/0.006484, allocations: 89.59 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.006502, allocations: 6.344 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.006509, allocations: 0 / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.006525, allocations: 0 / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.486e-05/0.00662, allocations: 12.31 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.006625, allocations: 0 / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.00666, allocations: 11.98 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.006668, allocations: 4 kB / 0.9541 GB, free: 15.56 MB / 0.9167 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 7.565e-05/0.006744, allocations: 117.7 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.00676, allocations: 7.984 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.006786, allocations: 4 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.006788, allocations: 3.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.006795, allocations: 3.984 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.0068, allocations: 4 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.006925, allocations: 140.6 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.006927, allocations: 0 / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.006972, allocations: 15.98 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.006973, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.006983, allocations: 8 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.006985, allocations: 0 / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006986, allocations: 0 / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.007166, allocations: 183.9 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.007176, allocations: 8 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.007188, allocations: 3.984 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.761e-05/0.007235, allocations: 8 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.007287, allocations: 15.92 kB / 0.9546 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.007292, allocations: 3.984 kB / 0.9546 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.721e-05/0.00733, allocations: 91.58 kB / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00733, allocations: 0 / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001431/0.007473, allocations: 7.953 kB / 0.9547 GB, free: 14.87 MB / 0.9167 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.0003824/0.007855, allocations: 0.7085 MB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.008022, allocations: 63.88 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008024, allocations: 0 / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.816e-05/0.008082, allocations: 31.97 kB / 0.9555 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.008386, allocations: 4 kB / 0.9555 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.009637, allocations: 1.331 MB / 0.9568 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.739e-05/0.009704, allocations: 67.34 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.975e-05/0.009754, allocations: 3.984 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.009822, allocations: 16.5 kB / 0.9569 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of SimCode: time 1.253e-06/0.009824, allocations: 0 / 0.9569 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.02965, allocations: 2.575 MB / 0.9594 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/6.819, allocations: 0 / 0.9594 GB, free: 10.1 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.t from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.u in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.u from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.899974808096886]