Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.0007507/0.0007507, allocations: 76.44 kB / 19.17 MB, free: 0.7383 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.0007943/0.0007943, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.9055/0.9055, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.714/1.714, allocations: 377.8 MB / 0.6221 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.981 GB, free: 2.488 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.248e-05, allocations: 2.281 kB / 0.981 GB, free: 2.484 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00137/0.001393, allocations: 0.8065 MB / 0.9818 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008441/0.002237, allocations: 0.9094 MB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.705e-05/0.002314, allocations: 3.938 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.002424, allocations: 7.875 kB / 0.9827 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.253e-05/0.002457, allocations: 15.88 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.002629, allocations: 27.91 kB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.41e-05/0.002724, allocations: 83.7 kB / 0.9828 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.002821, allocations: 19.98 kB / 0.9829 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.002941, allocations: 51.83 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.002997, allocations: 23.91 kB / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.003012, allocations: 4 kB / 0.9829 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.332e-05/0.003045, allocations: 8 kB / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.003065, allocations: 15.98 kB / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.003085, allocations: 15.92 kB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.003208, allocations: 83.67 kB / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00321, allocations: 4 kB / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003211, allocations: 0 / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.003215, allocations: 4 kB / 0.9831 GB, free: 404 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003652/0.00358, allocations: 310 kB / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.003615, allocations: 12.03 kB / 0.9834 GB, free: 48 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.003653, allocations: 42.73 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.697e-05/0.00375, allocations: 12.89 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.003932, allocations: 157.5 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.003939, allocations: 4.375 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.003948, allocations: 4.375 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.004051, allocations: 62.23 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.004058, allocations: 192 / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.004067, allocations: 8.297 kB / 0.9836 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004072, allocations: 4.125 kB / 0.9836 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.516e-05/0.004137, allocations: 35.92 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.004462, allocations: 275.8 kB / 0.9839 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.847e-05/0.00456, allocations: 54.58 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.928e-05/0.00459, allocations: 16.92 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.004604, allocations: 4.078 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.004621, allocations: 30.56 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.004622, allocations: 0 / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001644/0.004786, allocations: 73.61 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.004812, allocations: 55.41 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.004888, allocations: 140.3 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.0049, allocations: 33.7 kB / 0.9843 GB, free: 14.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.004944, allocations: 96.12 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.004956, allocations: 3.953 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.004984, allocations: 17.72 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.566e-05/0.00506, allocations: 322.8 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.058e-05/0.005091, allocations: 19.98 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.005114, allocations: 12 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.689e-05/0.005161, allocations: 24.84 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.005162, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.277e-05/0.005245, allocations: 77.56 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.005258, allocations: 4 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.005263, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.005274, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.764e-05/0.005321, allocations: 7.984 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.005325, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.489e-05/0.00536, allocations: 15.98 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.005365, allocations: 336 / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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 6.1e-05/0.005426, allocations: 121.7 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.005441, allocations: 11.95 kB / 0.985 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.005462, allocations: 12.33 kB / 0.985 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.005464, allocations: 4 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005467, allocations: 0 / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.005469, allocations: 0 / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.005578, allocations: 144.7 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.005579, allocations: 0 / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.005597, allocations: 7.984 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.005598, allocations: 0 / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.005605, allocations: 0 / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.005606, allocations: 4 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.005608, allocations: 11.94 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.005715, allocations: 163.4 kB / 0.9854 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-06/0.005725, allocations: 7.891 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.005738, allocations: 4 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.656e-05/0.005784, allocations: 11.98 kB / 0.9854 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.005825, allocations: 11.97 kB / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.005828, allocations: 0 / 0.9854 GB, free: 13.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.005872, allocations: 105.8 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005872, allocations: 0 / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001409/0.006013, allocations: 12 kB / 0.9855 GB, free: 13.61 MB / 0.948 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002783/0.006291, allocations: 0.6889 MB / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.48e-05/0.006386, allocations: 35.97 kB / 0.9862 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006387, allocations: 0 / 0.9862 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.006415, allocations: 16 kB / 0.9862 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.006604, allocations: 14.56 kB / 0.9863 GB, free: 12.83 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/0.007512, allocations: 1.389 MB / 0.9876 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.549e-05/0.007557, allocations: 75.33 kB / 0.9877 GB, free: 11.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.007588, allocations: 8.078 kB / 0.9877 GB, free: 11.26 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.007633, allocations: 24.48 kB / 0.9877 GB, free: 11.24 MB / 0.948 GB Notification: Performance of SimCode: time 8.42e-07/0.007634, allocations: 4 kB / 0.9877 GB, free: 11.23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.02387, allocations: 2.718 MB / 0.9904 GB, free: 8.668 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.642/6.666, allocations: 7.312 kB / 0.9904 GB, free: 8.664 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable les.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable les.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable lesHys.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.867217020131648]