Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_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.001402/0.001402, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.525/2.525, allocations: 469.8 MB / 0.7424 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 64.08 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2332, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003069/0.2363, allocations: 2.009 MB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.238, allocations: 1.2 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.2381, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.2385, allocations: 155.4 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.2388, allocations: 159.4 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.2392, allocations: 226.4 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.2396, allocations: 311.2 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.2397, allocations: 48.36 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.2399, allocations: 135.5 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.2401, allocations: 151.4 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.2401, allocations: 12 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.2402, allocations: 67.91 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-05/0.2403, allocations: 83.73 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.2405, allocations: 123.1 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.2408, allocations: 363 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2408, allocations: 0 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2408, allocations: 3.938 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2409, allocations: 0 / 1.069 GB, free: 9.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008296/0.2417, allocations: 0.6225 MB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.2417, allocations: 8.031 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.2418, allocations: 42.73 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.2418, allocations: 36.5 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.2423, allocations: 377.9 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.2423, allocations: 8 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.2423, allocations: 4 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.2425, allocations: 109.6 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.2426, allocations: 4 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2426, allocations: 0 / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2426, allocations: 0 / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.2428, allocations: 63.95 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007028/0.2435, allocations: 0.4964 MB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.2438, allocations: 134.7 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2439, allocations: 52.83 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.2439, allocations: 0 / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.2441, allocations: 111.8 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.2442, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004685/0.2446, allocations: 226.9 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.2447, allocations: 51.41 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.2452, allocations: 0.5093 MB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.2452, allocations: 29.7 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.2453, allocations: 168.3 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.2454, allocations: 43.53 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.735e-05/0.2455, allocations: 73.88 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2456, allocations: 342.8 kB / 1.072 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.2458, allocations: 100.5 kB / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.246, allocations: 135.6 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.2463, allocations: 188.2 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.2463, allocations: 4 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004966/0.2468, allocations: 313.2 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2469, allocations: 9.656 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2469, allocations: 0 / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2469, allocations: 4 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.2471, allocations: 55.91 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2471, allocations: 4.062 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2472, allocations: 23.83 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.2473, allocations: 11.98 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001639/0.2474, allocations: 185.7 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.2475, allocations: 39.47 kB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.2475, allocations: 35.12 kB / 1.073 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2475, allocations: 4 kB / 1.073 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2476, allocations: 0 / 1.073 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2476, allocations: 4 kB / 1.073 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.2478, allocations: 297.4 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2478, allocations: 0 / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.2479, allocations: 11.98 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2479, allocations: 3.938 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.2479, allocations: 8 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2479, allocations: 0 / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2479, allocations: 0 / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.2483, allocations: 213.7 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.2484, allocations: 112.7 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.2484, allocations: 11.92 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.385e-05/0.2485, allocations: 4 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.2486, allocations: 19.97 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.2486, allocations: 8 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003123/0.2489, allocations: 319.1 kB / 1.074 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2489, allocations: 0 / 1.074 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002521/0.2492, allocations: 51.91 kB / 1.074 GB, free: 3.23 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: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001854/0.251, allocations: 1.068 MB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.2514, allocations: 203.8 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2514, allocations: 4.125 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.2516, allocations: 55.97 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.252, allocations: 86.69 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.2554, allocations: 3.133 MB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.2557, allocations: 0.787 MB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.2559, allocations: 58.94 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.256, allocations: 107.4 kB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of SimCode: time 1.894e-06/0.256, allocations: 0 / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.705/1.961, allocations: 7.057 MB / 1.087 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.21/21.17, allocations: 12.02 kB / 1.087 GB, free: 6.797 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches