Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.001001/0.001001, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005161/0.005161, allocations: 173.6 kB / 16.27 MB, free: 6.676 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.25/1.25, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.322/2.322, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.000357, allocations: 12 kB / 0.873 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.5453, allocations: 153.8 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.0007223/0.5461, allocations: 0.4931 MB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008076/0.5469, allocations: 0.8584 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.5469, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.547, allocations: 3.984 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.889e-05/0.547, allocations: 7.938 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.5472, allocations: 43.89 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.67e-05/0.5473, allocations: 79.83 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.287e-05/0.5473, allocations: 23.97 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.478e-05/0.5474, allocations: 35.84 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.5475, allocations: 43.77 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.5475, allocations: 4 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.5475, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.5475, allocations: 23.91 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.5476, allocations: 53.56 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.535e-05/0.5477, allocations: 79.64 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.5477, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5477, allocations: 4 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.695e-06/0.5477, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.7794 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.0004792/0.5482, allocations: 389.7 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.5482, allocations: 8.031 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.5483, allocations: 34.75 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.5483, allocations: 8.844 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.5484, allocations: 180.2 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.5484, allocations: 4.312 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.5484, allocations: 8.375 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.5487, allocations: 121.5 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.5487, allocations: 4 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.5488, allocations: 7.984 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-06/0.5488, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.5491, allocations: 123.9 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.5496, allocations: 344.5 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005586/0.5501, allocations: 134.6 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.5503, allocations: 60.81 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.5504, allocations: 7.984 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.5504, allocations: 34.56 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.5504, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000646/0.551, allocations: 217.4 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.5511, allocations: 55.41 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.5512, allocations: 129.7 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.5512, allocations: 25.7 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.5512, allocations: 104 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.5513, allocations: 19.64 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.5513, allocations: 17.72 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.5514, allocations: 318.8 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.5516, allocations: 59.95 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.5518, allocations: 51.95 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.5521, allocations: 124.7 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5521, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004009/0.5525, allocations: 149.6 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5525, allocations: 9.875 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.5526, allocations: 4 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.5526, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.5527, allocations: 31.97 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.5527, allocations: 0 / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.5529, allocations: 27.81 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.5529, allocations: 4 kB / 1.028 GB, free: 11.2 MB / 0.7794 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,min1.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 7.104e-05/0.553, allocations: 122.3 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.553, allocations: 4 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.5535, allocations: 174.5 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5535, allocations: 0 / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.5535, allocations: 0 / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.5535, allocations: 3.938 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.5537, allocations: 197.5 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5537, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.5538, allocations: 35.97 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5538, allocations: 3.984 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.5538, allocations: 4 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.5539, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5539, allocations: 3.938 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.5543, allocations: 263.4 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.5544, allocations: 85.02 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.5544, allocations: 8 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.5545, allocations: 15.98 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.5546, allocations: 19.91 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.5546, allocations: 11.98 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.5547, allocations: 99.2 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5547, allocations: 0 / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002135/0.5549, allocations: 15.94 kB / 1.029 GB, free: 10.05 MB / 0.7794 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 (min1.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.0006714/0.5556, allocations: 0.8005 MB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003992/0.556, allocations: 127.9 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.556, allocations: 0 / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.5562, allocations: 75.88 kB / 1.03 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.5565, allocations: 11.94 kB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.5583, allocations: 1.594 MB / 1.031 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.5585, allocations: 0.6887 MB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.653e-05/0.5586, allocations: 15.98 kB / 1.032 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.5586, allocations: 27.42 kB / 1.032 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5586, allocations: 0 / 1.032 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.344/2.903, allocations: 2.263 MB / 1.034 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003548/2.903, allocations: 197.8 kB / 1.034 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/5.609, allocations: 1.938 kB / 1.034 GB, free: 4.184 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches