Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_latest_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.004925/0.004925, allocations: 99.89 kB / 15.73 MB, free: 6.062 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.001389/0.001389, allocations: 192.1 kB / 16.68 MB, free: 5.969 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.216/1.216, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.374/2.374, allocations: 482.6 MB / 0.7551 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 69.69 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2359, allocations: 162.3 MB / 1.242 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002645/0.2386, allocations: 2.001 MB / 1.244 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.2403, allocations: 1.208 MB / 1.245 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.622e-05/0.2404, allocations: 3.938 kB / 1.245 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.2407, allocations: 151.5 kB / 1.245 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.241, allocations: 151.4 kB / 1.245 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.2414, allocations: 230.4 kB / 1.246 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000338/0.2418, allocations: 319.1 kB / 1.246 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.2419, allocations: 48.38 kB / 1.246 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.2421, allocations: 135.5 kB / 1.246 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.2423, allocations: 151.4 kB / 1.246 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.2423, allocations: 16 kB / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.2424, allocations: 63.89 kB / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.375e-05/0.2425, allocations: 83.75 kB / 1.246 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.2427, allocations: 127.1 kB / 1.246 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.2431, allocations: 366.7 kB / 1.247 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2431, allocations: 0 / 1.247 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.965e-06/0.2431, allocations: 0 / 1.247 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.2431, allocations: 3.938 kB / 1.247 GB, free: 3.855 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000821/0.2439, allocations: 0.6378 MB / 1.247 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.2439, allocations: 8.031 kB / 1.247 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.244, allocations: 42.73 kB / 1.247 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.2441, allocations: 36.7 kB / 1.247 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.2445, allocations: 382.1 kB / 1.248 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2445, allocations: 8 kB / 1.248 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.2446, allocations: 4 kB / 1.248 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.2448, allocations: 115.3 kB / 1.248 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2448, allocations: 0 / 1.248 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2448, allocations: 0 / 1.248 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2448, allocations: 4 kB / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.245, allocations: 55.97 kB / 1.248 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.2457, allocations: 0.5002 MB / 1.249 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.246, allocations: 134.8 kB / 1.249 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.2462, allocations: 56.72 kB / 1.249 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.2462, allocations: 4 kB / 1.249 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.2464, allocations: 111.3 kB / 1.249 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2464, allocations: 4 kB / 1.249 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0004731/0.2469, allocations: 221.4 kB / 1.249 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.2469, allocations: 55.34 kB / 1.249 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/0.2475, allocations: 0.5093 MB / 1.25 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.2475, allocations: 33.69 kB / 1.25 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2476, allocations: 168.4 kB / 1.25 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.2477, allocations: 39.73 kB / 1.25 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.2478, allocations: 73.92 kB / 1.25 GB, free: 472 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2479, allocations: 350.8 kB / 1.25 GB, free: 112 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.2481, allocations: 100.5 kB / 1.25 GB, free: 12 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.2483, allocations: 127.6 kB / 1.25 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.2486, allocations: 182.5 kB / 1.251 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2486, allocations: 0 / 1.251 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004864/0.2491, allocations: 325.3 kB / 1.251 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2491, allocations: 11.94 kB / 1.251 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2491, allocations: 0 / 1.251 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.2492, allocations: 0 / 1.251 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.2494, allocations: 51.91 kB / 1.251 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2494, allocations: 0 / 1.251 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.2495, allocations: 20 kB / 1.251 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.2495, allocations: 16 kB / 1.251 GB, free: 15.27 MB / 0.9825 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.000174/0.2497, allocations: 185.7 kB / 1.251 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.2498, allocations: 35.75 kB / 1.251 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.2498, allocations: 35.12 kB / 1.251 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2498, allocations: 0 / 1.251 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2498, allocations: 4 kB / 1.251 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2498, allocations: 3.984 kB / 1.251 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.2501, allocations: 305.4 kB / 1.252 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2501, allocations: 4 kB / 1.252 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.2502, allocations: 8 kB / 1.252 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.2502, allocations: 11.92 kB / 1.252 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.2502, allocations: 0 / 1.252 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2502, allocations: 0 / 1.252 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2502, allocations: 4 kB / 1.252 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.2506, allocations: 212.8 kB / 1.252 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-05/0.2506, allocations: 116.8 kB / 1.252 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.2507, allocations: 4 kB / 1.252 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2508, allocations: 15.98 kB / 1.252 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.2509, allocations: 15.97 kB / 1.252 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.2509, allocations: 8 kB / 1.252 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003072/0.2512, allocations: 315.1 kB / 1.252 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2512, allocations: 0 / 1.252 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002484/0.2515, allocations: 59.89 kB / 1.252 GB, free: 13.86 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: 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.001868/0.2533, allocations: 1.059 MB / 1.253 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004173/0.2538, allocations: 191.8 kB / 1.253 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2538, allocations: 0 / 1.253 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.2539, allocations: 63.91 kB / 1.254 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.2543, allocations: 89.7 kB / 1.254 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.2579, allocations: 3.12 MB / 1.257 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.2583, allocations: 0.7831 MB / 1.257 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.2584, allocations: 50.95 kB / 1.257 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.2586, allocations: 111.4 kB / 1.258 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2586, allocations: 0 / 1.258 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.137/8.395, allocations: 7.167 MB / 1.265 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/22.04, allocations: 14.53 kB / 1.265 GB, free: 1.391 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches