Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.001957/0.001957, allocations: 104 kB / 15.6 MB, free: 148 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.001468/0.001468, allocations: 196.6 kB / 16.53 MB, free: 6.617 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.191 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.473/2.473, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002571/0.002571, allocations: 72.34 kB / 0.9087 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.239, allocations: 159.1 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001653/0.2407, allocations: 0.7087 MB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007804/0.2415, allocations: 0.833 MB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.2415, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.2415, allocations: 3.938 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.799e-05/0.2416, allocations: 11.92 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.2417, allocations: 27.97 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.151e-05/0.2418, allocations: 43.86 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.2419, allocations: 15.98 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.473e-05/0.242, allocations: 23.91 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.242, allocations: 19.92 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.242, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.2421, allocations: 8 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.2421, allocations: 11.98 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.2421, allocations: 23.81 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.28e-05/0.2422, allocations: 43.84 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2422, allocations: 3.938 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2422, allocations: 0 / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.2422, allocations: 0 / 1.066 GB, free: 12.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004481/0.2427, allocations: 355.7 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.2427, allocations: 8.031 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.2427, allocations: 42.75 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.2428, allocations: 8.828 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2429, allocations: 168.3 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.2429, allocations: 384 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.2429, allocations: 4.375 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.2431, allocations: 69.59 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.2431, allocations: 0 / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2431, allocations: 4 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.2431, allocations: 3.938 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.2433, allocations: 59.92 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.2437, allocations: 288.7 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.2439, allocations: 70.47 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.582e-05/0.244, allocations: 32.86 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.244, allocations: 0 / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.244, allocations: 34.56 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.2441, allocations: 0 / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003611/0.2444, allocations: 109.6 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.2445, allocations: 55.41 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.501e-05/0.2445, allocations: 105.8 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.2446, allocations: 25.7 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.2446, allocations: 92.05 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.2446, allocations: 3.906 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.2447, allocations: 21.7 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2448, allocations: 322.7 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.762e-05/0.2449, allocations: 31.97 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.088e-05/0.245, allocations: 19.98 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.2451, allocations: 48.81 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2452, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002225/0.2454, allocations: 85.64 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.2454, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.2454, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2454, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/0.2455, allocations: 15.92 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2455, allocations: 4.312 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.2456, allocations: 11.89 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.2456, allocations: 0 / 1.068 GB, free: 10.07 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: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.28e-05/0.2457, allocations: 117.8 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.2457, allocations: 3.938 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.2458, allocations: 15.91 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2458, allocations: 0 / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2458, allocations: 3.984 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.2458, allocations: 0 / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.2459, allocations: 177.5 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.246, allocations: 4 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.246, allocations: 11.92 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.246, allocations: 4 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2461, allocations: 4.312 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.2461, allocations: 0 / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2461, allocations: 0 / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.2463, allocations: 195.3 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.2464, allocations: 77.11 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.2464, allocations: 4 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.2465, allocations: 7.984 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.2465, allocations: 11.98 kB / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2465, allocations: 4 kB / 1.068 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.2466, allocations: 95.33 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2466, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001939/0.2468, allocations: 7.938 kB / 1.069 GB, free: 9.242 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0005286/0.2473, allocations: 0.7241 MB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.2476, allocations: 55.89 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2476, allocations: 0 / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.2477, allocations: 35.97 kB / 1.069 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.2479, allocations: 4 kB / 1.069 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.2493, allocations: 1.315 MB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.2495, allocations: 0.6845 MB / 1.071 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.2496, allocations: 8 kB / 1.071 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.2496, allocations: 19.42 kB / 1.071 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of SimCode: time 1.734e-06/0.2496, allocations: 0 / 1.071 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.653/4.903, allocations: 1.809 MB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/17.72, allocations: 12.09 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches