Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.001268/0.001268, 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.001953/0.001953, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.52/2.52, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 65.64 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2522, 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.Max): time 0.00194/0.2542, allocations: 0.787 MB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008871/0.2551, allocations: 0.8602 MB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.2552, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.2552, allocations: 7.938 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.2553, allocations: 15.86 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.2554, allocations: 39.89 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.2555, allocations: 79.88 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2556, allocations: 27.98 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.799e-05/0.2557, allocations: 35.86 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.305e-05/0.2558, allocations: 55.75 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.2558, allocations: 8 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.2559, allocations: 8 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.2559, allocations: 23.91 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.2559, allocations: 39.78 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.2561, allocations: 91.66 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2561, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2561, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2561, allocations: 0 / 1.066 GB, free: 12.12 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005685/0.2567, allocations: 391.5 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.2567, allocations: 8.031 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.2567, allocations: 38.75 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.2568, allocations: 12.84 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.2569, allocations: 172.2 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.2569, allocations: 8.359 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.257, allocations: 8.375 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.2572, allocations: 107.2 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2573, allocations: 4 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2573, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.2573, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.2576, allocations: 103.9 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.2581, allocations: 344.6 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005593/0.2587, allocations: 122.6 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.2589, allocations: 48.81 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2589, allocations: 4 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.2589, allocations: 38.56 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.259, allocations: 0 / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006479/0.2596, allocations: 181.4 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.2597, allocations: 55.41 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/0.2598, allocations: 129.7 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.2598, allocations: 25.7 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.2598, allocations: 104 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.2599, allocations: 11.8 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.2599, allocations: 25.7 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.26, allocations: 318.8 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.2602, allocations: 43.95 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.2604, allocations: 47.95 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.2607, allocations: 104.7 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2607, allocations: 0 / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003949/0.2611, allocations: 138 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.2612, allocations: 4 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.2612, allocations: 0 / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2612, allocations: 0 / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.2613, allocations: 27.97 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.2614, allocations: 80 / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.2615, allocations: 19.91 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.2615, allocations: 7.984 kB / 1.069 GB, free: 9.285 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 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.478e-05/0.2616, allocations: 125.8 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.2616, allocations: 7.844 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004352/0.2621, allocations: 153.9 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2621, allocations: 0 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2621, allocations: 4 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2621, allocations: 3.938 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.2623, allocations: 201.5 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2623, allocations: 0 / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.2624, allocations: 23.97 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2625, allocations: 0 / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.2625, allocations: 0 / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2625, allocations: 4 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2625, allocations: 0 / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.2629, allocations: 247.2 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.263, allocations: 84.95 kB / 1.069 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.263, allocations: 3.984 kB / 1.069 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.2631, allocations: 15.97 kB / 1.069 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.2632, allocations: 23.92 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.2632, allocations: 8 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.689e-05/0.2633, allocations: 95.27 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.2633, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002144/0.2635, allocations: 12 kB / 1.07 GB, free: 8.191 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007279/0.2643, allocations: 0.7748 MB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.2647, allocations: 103.9 kB / 1.07 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2647, allocations: 0 / 1.07 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.2649, allocations: 71.88 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.2651, allocations: 9.812 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.2671, allocations: 1.534 MB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.2673, allocations: 0.6885 MB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.214e-05/0.2674, allocations: 15.98 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.2675, allocations: 31.42 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2675, allocations: 0 / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.066/1.333, allocations: 2.665 MB / 1.075 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11.74, allocations: 1.875 kB / 1.075 GB, free: 2.242 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches