Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.001274/0.001274, allocations: 106.2 kB / 16.45 MB, free: 6.035 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.001275/0.001275, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.433/1.433, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 75.88 kB / 1.104 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9318, allocations: 168.7 MB / 1.269 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002839/0.9347, allocations: 0.8666 MB / 1.27 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.9362, allocations: 0.8935 MB / 1.271 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.9363, allocations: 8 kB / 1.271 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.9365, allocations: 15.8 kB / 1.271 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.812e-05/0.9365, allocations: 7.875 kB / 1.271 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.9368, allocations: 43.88 kB / 1.271 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.937, allocations: 99.77 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.9372, allocations: 35.91 kB / 1.271 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.9373, allocations: 43.83 kB / 1.271 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.688e-05/0.9374, allocations: 35.84 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.9374, allocations: 8 kB / 1.271 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.349e-05/0.9375, allocations: 12 kB / 1.271 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.9375, allocations: 19.92 kB / 1.271 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.9376, allocations: 43.67 kB / 1.271 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.9378, allocations: 101.3 kB / 1.271 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9378, allocations: 0 / 1.271 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9378, allocations: 0 / 1.271 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.9378, allocations: 0 / 1.271 GB, free: 2.891 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008342/0.9386, allocations: 421.1 kB / 1.271 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.9387, allocations: 12.03 kB / 1.271 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.546e-05/0.9387, allocations: 38.73 kB / 1.271 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.9388, allocations: 8.891 kB / 1.271 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.9391, allocations: 214.5 kB / 1.272 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.9392, allocations: 4.375 kB / 1.272 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.9392, allocations: 4.375 kB / 1.272 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.9395, allocations: 102.1 kB / 1.272 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.9395, allocations: 3.938 kB / 1.272 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.9395, allocations: 4 kB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.9396, allocations: 3.984 kB / 1.272 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.9399, allocations: 69.19 kB / 1.272 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.9407, allocations: 348.6 kB / 1.272 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.941, allocations: 62.53 kB / 1.272 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.9411, allocations: 36.92 kB / 1.272 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.9412, allocations: 0 / 1.272 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.9412, allocations: 38.5 kB / 1.272 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.9412, allocations: 0 / 1.272 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0005976/0.9418, allocations: 113.6 kB / 1.272 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.9419, allocations: 51.41 kB / 1.272 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.942, allocations: 137.7 kB / 1.273 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.942, allocations: 29.7 kB / 1.273 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.9421, allocations: 112 kB / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.9422, allocations: 3.953 kB / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.9422, allocations: 21.7 kB / 1.273 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.9424, allocations: 318.8 kB / 1.273 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.9426, allocations: 27.97 kB / 1.273 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.9427, allocations: 31.97 kB / 1.273 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.943, allocations: 60.75 kB / 1.273 GB, free: 444 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.943, allocations: 0 / 1.273 GB, free: 444 kB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003721/0.9434, allocations: 105.7 kB / 1.273 GB, free: 332 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.9434, allocations: 4 kB / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.9434, allocations: 0 / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.9434, allocations: 0 / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.9435, allocations: 15.98 kB / 1.273 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.854e-05/0.9436, allocations: 7.938 kB / 1.273 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.9438, allocations: 23.92 kB / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.9438, allocations: 3.938 kB / 1.273 GB, free: 276 kB / 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: 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 0.0001314/0.9439, allocations: 117.8 kB / 1.273 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.9439, allocations: 7.953 kB / 1.273 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.944, allocations: 12.25 kB / 1.273 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.944, allocations: 4 kB / 1.273 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.944, allocations: 3.938 kB / 1.273 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.944, allocations: 3.984 kB / 1.273 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.9443, allocations: 185.6 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9443, allocations: 0 / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.9444, allocations: 11.98 kB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.9444, allocations: 0 / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.9444, allocations: 7.984 kB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.9445, allocations: 0 / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9445, allocations: 7.938 kB / 1.274 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.9449, allocations: 183.5 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.9449, allocations: 85.06 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.945, allocations: 4 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.9452, allocations: 15.97 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.9452, allocations: 19.86 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.9452, allocations: 4 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.992e-05/0.9453, allocations: 105 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9453, allocations: 0 / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003673/0.9457, allocations: 15.94 kB / 1.274 GB, free: 15.39 MB / 0.9825 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.0008839/0.9466, allocations: 0.7288 MB / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.947, allocations: 67.88 kB / 1.275 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.947, allocations: 0 / 1.275 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.9471, allocations: 31.97 kB / 1.275 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.9476, allocations: 21.53 kB / 1.275 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.9502, allocations: 1.478 MB / 1.276 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.9506, allocations: 0.6963 MB / 1.277 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.813e-05/0.9507, allocations: 7.984 kB / 1.277 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/0.9508, allocations: 23.44 kB / 1.277 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.9508, allocations: 0 / 1.277 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.9838, allocations: 2.204 MB / 1.279 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.964, allocations: 6.578 kB / 1.279 GB, free: 10.09 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.043032745830715]