Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.001065/0.001065, 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.001378/0.001378, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8876/0.8876, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.731/1.731, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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.Less,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 0.981 GB, free: 2.5 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.801e-05, allocations: 5.234 kB / 0.981 GB, free: 2.496 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.00162/0.001648, allocations: 0.831 MB / 0.9818 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009605/0.002609, allocations: 0.9249 MB / 0.9828 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.002707, allocations: 4 kB / 0.9828 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.002838, allocations: 19.8 kB / 0.9828 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.624e-05/0.002875, allocations: 11.81 kB / 0.9828 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.003099, allocations: 39.89 kB / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.003223, allocations: 103.7 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.003368, allocations: 27.98 kB / 0.9829 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.003552, allocations: 63.88 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.344e-05/0.003615, allocations: 31.91 kB / 0.983 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.003634, allocations: 4 kB / 0.983 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.321e-05/0.003677, allocations: 15.94 kB / 0.9831 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.003696, allocations: 23.91 kB / 0.9831 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.003726, allocations: 23.92 kB / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.003888, allocations: 111.6 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.003891, allocations: 0 / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.583e-06/0.003892, allocations: 0 / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.003898, allocations: 0 / 0.9832 GB, free: 260 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005107/0.004408, allocations: 334 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.004454, allocations: 12.03 kB / 0.9835 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.00449, allocations: 38.73 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.004605, allocations: 16.89 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.004823, allocations: 149.5 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.004833, allocations: 4.375 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.004845, allocations: 16.38 kB / 0.9838 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.005018, allocations: 96.02 kB / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.005025, allocations: 192 / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.005036, allocations: 8.297 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.005042, allocations: 8.125 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.005168, allocations: 63.94 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.00557, allocations: 307.7 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.005719, allocations: 66.53 kB / 0.9843 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.248e-05/0.005782, allocations: 32.92 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.005798, allocations: 3.938 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.005818, allocations: 30.56 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.005819, allocations: 0 / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002858/0.006105, allocations: 129.5 kB / 0.9845 GB, free: 14.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.006138, allocations: 51.41 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.006226, allocations: 137.7 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.00624, allocations: 25.7 kB / 0.9847 GB, free: 14.59 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.006294, allocations: 104 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.006311, allocations: 11.91 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.006342, allocations: 17.72 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.006421, allocations: 326.8 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.798e-05/0.006489, allocations: 31.97 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.006544, allocations: 31.97 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.006652, allocations: 52.81 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006654, allocations: 0 / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001437/0.006798, allocations: 105.6 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.006811, allocations: 6.656 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.006815, allocations: 0 / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.006827, allocations: 0 / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.006896, allocations: 11.98 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.006901, allocations: 0 / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.00695, allocations: 23.92 kB / 0.9854 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.006958, allocations: 3.938 kB / 0.9854 GB, free: 13.85 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 (5): * Single equations (assignments): 5 * 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.302e-05/0.007021, allocations: 117.8 kB / 0.9855 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.007036, allocations: 7.953 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.007059, allocations: 8.344 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.007062, allocations: 4 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.007067, allocations: 192 / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.00707, allocations: 0 / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.007335, allocations: 160.7 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.007337, allocations: 7.875 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.007377, allocations: 11.98 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.007379, allocations: 4 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.007388, allocations: 4 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.007389, allocations: 0 / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00739, allocations: 0 / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.007559, allocations: 187.4 kB / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.007571, allocations: 15.88 kB / 0.9859 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.007586, allocations: 0 / 0.9859 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.046e-05/0.007646, allocations: 15.98 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.007695, allocations: 15.97 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.007699, allocations: 240 / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.007742, allocations: 111.1 kB / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007742, allocations: 0 / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001511/0.007893, allocations: 11.94 kB / 0.986 GB, free: 13.11 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 (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.0003822/0.008275, allocations: 0.7241 MB / 0.9867 GB, free: 12.36 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.008441, allocations: 67.94 kB / 0.9868 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008443, allocations: 0 / 0.9868 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.757e-05/0.0085, allocations: 39.91 kB / 0.9868 GB, free: 12.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.008723, allocations: 8 kB / 0.9868 GB, free: 12.24 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.009903, allocations: 1.475 MB / 0.9883 GB, free: 10.68 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.324e-05/0.009956, allocations: 75.33 kB / 0.9884 GB, free: 10.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.082e-05/0.009997, allocations: 11.94 kB / 0.9884 GB, free: 10.57 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.01005, allocations: 28.48 kB / 0.9884 GB, free: 10.55 MB / 0.948 GB Notification: Performance of SimCode: time 7.82e-07/0.01005, allocations: 0 / 0.9884 GB, free: 10.55 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.02727, allocations: 2.934 MB / 0.9913 GB, free: 7.766 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.632/6.66, allocations: 6.344 kB / 0.9913 GB, free: 7.762 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_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_Less.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable les.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable lesHys.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.887194253504276]