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.1-maint.10.0.x/package.mo", uses=false) 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.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.007873/0.007873, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001844/0.001844, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 72.3 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7333/0.7348, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002037/0.7369, allocations: 0.8764 MB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.738, allocations: 0.8896 MB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.7382, allocations: 4 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.7383, allocations: 19.8 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.31e-05/0.7384, allocations: 7.875 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.7386, allocations: 43.88 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.7388, allocations: 99.77 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.7389, allocations: 43.98 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.7391, allocations: 47.77 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.984e-05/0.7392, allocations: 31.84 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.7392, allocations: 12 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.7392, allocations: 8 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.7393, allocations: 23.92 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/0.7393, allocations: 39.73 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.7395, allocations: 95.3 kB / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.7395, allocations: 4 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.562e-06/0.7395, allocations: 3.938 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.7395, allocations: 0 / 1.168 GB, free: 1.535 MB / 0.8887 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.0006615/0.7402, allocations: 419 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.7402, allocations: 8.625 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.7403, allocations: 34.75 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.7403, allocations: 12.89 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.7406, allocations: 212.1 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.7407, allocations: 4.375 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.7407, allocations: 8.375 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.7409, allocations: 91.45 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.741, allocations: 7.875 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.741, allocations: 0 / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.741, allocations: 4 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.7413, allocations: 63.94 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.7418, allocations: 348.7 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.742, allocations: 62.53 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.7421, allocations: 36.92 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.7422, allocations: 4 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.7422, allocations: 34.56 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.7422, allocations: 3.938 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004838/0.7427, allocations: 117.5 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.7427, allocations: 55.41 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.7429, allocations: 140.2 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.7429, allocations: 25.7 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.7429, allocations: 112 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.743, allocations: 7.953 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.743, allocations: 21.7 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7431, allocations: 314.8 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.7433, allocations: 35.91 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.7434, allocations: 31.97 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.7436, allocations: 60.94 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7436, allocations: 0 / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002934/0.7439, allocations: 101.5 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.744, allocations: 4 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.744, allocations: 0 / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.744, allocations: 192 / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.7441, allocations: 15.98 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7441, allocations: 3.938 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.7442, allocations: 23.92 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.7443, allocations: 3.984 kB / 1.171 GB, free: 14.92 MB / 0.9044 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.341e-05/0.7444, allocations: 117.8 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.7444, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/0.7445, allocations: 16.23 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.7445, allocations: 4 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.7445, allocations: 3.938 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7445, allocations: 0 / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.7447, allocations: 193.6 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7447, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.7448, allocations: 15.92 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.7448, allocations: 0 / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.7448, allocations: 0 / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7448, allocations: 0 / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.7448, allocations: 3.938 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.7451, allocations: 191.5 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.7452, allocations: 81.05 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.7452, allocations: 11.98 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.7454, allocations: 11.98 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.7454, allocations: 15.92 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.7454, allocations: 64 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.072e-05/0.7455, allocations: 105.9 kB / 1.171 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7455, allocations: 4 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002391/0.7458, allocations: 15.89 kB / 1.171 GB, free: 14.04 MB / 0.9044 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.0006192/0.7464, allocations: 0.728 MB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.7467, allocations: 68.06 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7467, allocations: 3.938 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.7468, allocations: 35.91 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.7471, allocations: 15.94 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.7489, allocations: 1.477 MB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.7492, allocations: 0.6924 MB / 1.174 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.947e-05/0.7492, allocations: 7.984 kB / 1.174 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.7493, allocations: 27.42 kB / 1.174 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of SimCode: time 1.773e-06/0.7493, allocations: 0 / 1.174 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.7671, allocations: 2.187 MB / 1.177 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/8.167, allocations: 5.391 kB / 1.177 GB, free: 8.75 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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