Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.6 MB / 249.3 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 71.89 kB / 1.059 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.267, allocations: 160.7 MB / 1.216 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001749/0.2688, allocations: 0.7133 MB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009179/0.2697, allocations: 0.8428 MB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.2697, allocations: 0 / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.2698, allocations: 3.938 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.57e-05/0.2698, allocations: 11.92 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.27, allocations: 15.98 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.573e-05/0.27, allocations: 47.91 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.797e-05/0.2701, allocations: 11.98 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.157e-05/0.2702, allocations: 19.92 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.952e-05/0.2703, allocations: 27.84 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.2703, allocations: 7.938 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.2703, allocations: 8 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.2703, allocations: 7.938 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.2703, allocations: 23.91 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.609e-05/0.2704, allocations: 48.02 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2704, allocations: 4 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2704, allocations: 0 / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.2704, allocations: 0 / 1.217 GB, free: 14.06 MB / 0.9669 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.0005063/0.2709, allocations: 359.3 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.271, allocations: 8.031 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.271, allocations: 34.75 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.271, allocations: 4.938 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.2712, allocations: 176.3 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2712, allocations: 4.375 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.2712, allocations: 8.125 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.2714, allocations: 69.58 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2714, allocations: 4 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.2714, allocations: 0 / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.2714, allocations: 0 / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.2716, allocations: 51.95 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.2721, allocations: 288.8 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.2722, allocations: 62.47 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.2723, allocations: 28.92 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.2724, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2724, allocations: 42.55 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.2724, allocations: 0 / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004009/0.2728, allocations: 109.8 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.2728, allocations: 51.41 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/0.2729, allocations: 105.8 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2729, allocations: 25.7 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.273, allocations: 92.09 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.273, allocations: 7.953 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.273, allocations: 21.7 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2732, allocations: 314.8 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.2733, allocations: 31.97 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.004e-05/0.2734, allocations: 27.91 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.2735, allocations: 56.81 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2735, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002488/0.2738, allocations: 93.53 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2738, allocations: 5.562 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2738, allocations: 0 / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2738, allocations: 7.938 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.2739, allocations: 7.984 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2739, allocations: 4 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.609e-05/0.274, allocations: 15.92 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.274, allocations: 4.25 kB / 1.219 GB, free: 11.75 MB / 0.9669 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.393e-05/0.2741, allocations: 113.8 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.2741, allocations: 0 / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.2742, allocations: 7.891 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2742, allocations: 4 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2742, allocations: 0 / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2742, allocations: 0 / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.2743, allocations: 181.7 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2744, allocations: 7.984 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.256e-05/0.2744, allocations: 11.98 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2744, allocations: 4 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2744, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2744, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.2744, allocations: 3.938 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.2747, allocations: 183.4 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.2748, allocations: 81.11 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2748, allocations: 4 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.2749, allocations: 7.984 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.2749, allocations: 11.98 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.2749, allocations: 0 / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.344e-05/0.275, allocations: 95.2 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.275, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002097/0.2752, allocations: 7.953 kB / 1.22 GB, free: 10.94 MB / 0.9669 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.0005862/0.2758, allocations: 0.7251 MB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.276, allocations: 48.19 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.276, allocations: 4 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.2761, allocations: 43.92 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.2764, allocations: 4 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.2779, allocations: 1.319 MB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.2782, allocations: 0.6808 MB / 1.223 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.968e-05/0.2782, allocations: 15.89 kB / 1.223 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.2783, allocations: 15.44 kB / 1.223 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.2783, allocations: 3.938 kB / 1.223 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.3016, allocations: 1.839 MB / 1.225 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.992/7.293, allocations: 2.438 kB / 1.225 GB, free: 6.199 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.t from file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.u in file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.u from file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.y in file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.y from file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.55372684100439]