Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Reals.Validation.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 196.8 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.321/2.321, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.001161, allocations: 67.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5224, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002073/0.5245, allocations: 0.9147 MB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009558/0.5255, allocations: 0.8779 MB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.5256, allocations: 4 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.5257, allocations: 11.92 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.088e-05/0.5258, allocations: 19.8 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.526, allocations: 31.97 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.5261, allocations: 99.61 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.5262, allocations: 51.95 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.642e-05/0.5263, allocations: 35.86 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.5264, allocations: 39.72 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.5264, allocations: 8 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.5265, allocations: 4 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.5265, allocations: 7.984 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.5265, allocations: 39.72 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.5267, allocations: 93.91 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5267, allocations: 0 / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5267, allocations: 0 / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.5267, allocations: 0 / 1.019 GB, free: 0.5195 MB / 0.7637 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.0005997/0.5273, allocations: 419.1 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5273, allocations: 12.03 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.5274, allocations: 34.75 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.5274, allocations: 9.016 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.5276, allocations: 204.1 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.5276, allocations: 12.3 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.5277, allocations: 8.375 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.5279, allocations: 90.2 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.5279, allocations: 7.938 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5279, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.528, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.5282, allocations: 67.94 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.5287, allocations: 352.6 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.5289, allocations: 62.53 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.529, allocations: 40.92 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.5291, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.5291, allocations: 34.5 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.5291, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004219/0.5295, allocations: 117.5 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.5296, allocations: 55.41 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.5297, allocations: 139.2 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.5297, allocations: 25.7 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.5298, allocations: 112 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.5298, allocations: 7.812 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.5298, allocations: 25.7 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.53, allocations: 314.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.5301, allocations: 31.97 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.981e-05/0.5302, allocations: 39.84 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.5304, allocations: 52.81 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5304, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002477/0.5306, allocations: 97.55 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.5307, allocations: 13.81 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5307, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.5307, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.5308, allocations: 11.98 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.5308, allocations: 3.938 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.851e-05/0.5309, allocations: 15.97 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.5309, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 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 9.462e-05/0.531, allocations: 134.2 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.5311, allocations: 7.906 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.5311, allocations: 8.25 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.5311, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5311, allocations: 3.938 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5311, allocations: 3.984 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.5313, allocations: 181.6 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5313, allocations: 4.188 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.5314, allocations: 11.98 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5314, allocations: 8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5314, allocations: 3.984 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5314, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5314, allocations: 3.938 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.5317, allocations: 191.5 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.5317, allocations: 85.02 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.5318, allocations: 8 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.5319, allocations: 15.97 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.532, allocations: 11.92 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.532, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.487e-05/0.532, allocations: 103.2 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.532, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002099/0.5323, allocations: 12 kB / 1.022 GB, free: 13.02 MB / 0.7794 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.0005636/0.5328, allocations: 0.722 MB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.5331, allocations: 75.88 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5331, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.5332, allocations: 31.97 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.5335, allocations: 17.28 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.5351, allocations: 1.493 MB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.5354, allocations: 0.7004 MB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.433e-05/0.5354, allocations: 4 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.5355, allocations: 27.42 kB / 1.025 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5355, allocations: 0 / 1.025 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01104/0.5465, allocations: 1.889 MB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.5467, allocations: 206.1 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.093, allocations: 0 / 1.027 GB, free: 7.77 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches