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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001369/0.001369, allocations: 191 kB / 16.25 MB, free: 6.633 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.284/1.284, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.523/2.523, allocations: 469.8 MB / 0.7421 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 73.52 kB / 0.9082 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2425, allocations: 159.2 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.00191/0.2444, allocations: 0.9264 MB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009617/0.2454, allocations: 0.8896 MB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.388e-05/0.2455, allocations: 7.938 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.944e-05/0.2456, allocations: 3.938 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.535e-05/0.2456, allocations: 11.88 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.2458, allocations: 27.97 kB / 1.065 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.2459, allocations: 103.7 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.246, allocations: 51.95 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.085e-05/0.2461, allocations: 39.84 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.2462, allocations: 35.84 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2462, allocations: 8 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.2462, allocations: 8 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.2463, allocations: 23.91 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.2463, allocations: 39.73 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.2465, allocations: 91.98 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2465, allocations: 7.938 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2465, allocations: 0 / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2465, allocations: 0 / 1.066 GB, free: 12.18 MB / 0.8262 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.0005731/0.2471, allocations: 415 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2471, allocations: 12.03 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.2471, allocations: 38.73 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.2472, allocations: 8.844 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.2474, allocations: 197.5 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2474, allocations: 12.31 kB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.2474, allocations: 4.375 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.2476, allocations: 94.89 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2477, allocations: 7.938 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2477, allocations: 4 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2477, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.2479, allocations: 71.94 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.2484, allocations: 360.5 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.2486, allocations: 62.55 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.2487, allocations: 36.92 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.2487, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.2488, allocations: 30.56 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.2488, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003998/0.2492, allocations: 125.6 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.2492, allocations: 55.41 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2493, allocations: 142.8 kB / 1.067 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2494, allocations: 25.7 kB / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.2494, allocations: 100 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.2495, allocations: 15.83 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.2495, allocations: 17.72 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2496, allocations: 318.8 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.2498, allocations: 31.98 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.575e-05/0.2499, allocations: 27.97 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.25, allocations: 60.92 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2501, allocations: 4 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002506/0.2503, allocations: 105.5 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2503, allocations: 8 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.2503, allocations: 0 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.2504, allocations: 0 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.2505, allocations: 15.97 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2505, allocations: 3.938 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/0.2506, allocations: 15.92 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.2506, allocations: 4 kB / 1.068 GB, free: 9.559 MB / 0.8262 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 8.915e-05/0.2507, allocations: 117.8 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.2507, allocations: 7.906 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.2507, allocations: 12.23 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2507, allocations: 0 / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2508, allocations: 3.938 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2508, allocations: 0 / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.251, allocations: 189.6 kB / 1.068 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.251, allocations: 7.938 kB / 1.068 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.251, allocations: 7.984 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2511, allocations: 11.94 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2511, allocations: 0 / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2511, allocations: 0 / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2511, allocations: 3.938 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.2514, allocations: 183.4 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.2514, allocations: 89 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.2515, allocations: 4 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.2516, allocations: 16.05 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.2516, allocations: 15.92 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.2516, allocations: 7.984 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.114e-05/0.2517, allocations: 101.3 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2517, allocations: 0 / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000211/0.2519, allocations: 15.94 kB / 1.069 GB, free: 8.684 MB / 0.8262 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.0006094/0.2525, allocations: 0.724 MB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.2528, allocations: 71.89 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2528, allocations: 4 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.2529, allocations: 31.97 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.2532, allocations: 15.92 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.2549, allocations: 1.487 MB / 1.071 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.2552, allocations: 0.7001 MB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.274e-05/0.2553, allocations: 4.188 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.2553, allocations: 31.36 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2553, allocations: 0 / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7631/1.018, allocations: 1.963 MB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003017/1.019, allocations: 196.8 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.829, allocations: 0 / 1.074 GB, free: 3.383 MB / 0.8262 GB (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 --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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches