Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_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.0008939/0.0008938, allocations: 91.84 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.005697/0.005697, allocations: 169.6 kB / 16.26 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.823/2.823, allocations: 462.7 MB / 0.7364 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003951, allocations: 13.97 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3452, allocations: 159.6 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.0008994/0.3462, allocations: 0.507 MB / 1.059 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3473, allocations: 0.8702 MB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.3473, allocations: 0 / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.3473, allocations: 7.922 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.3474, allocations: 7.938 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.3476, allocations: 35.95 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.602e-05/0.3477, allocations: 79.83 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.3478, allocations: 19.98 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.72e-05/0.3478, allocations: 35.84 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.3479, allocations: 43.83 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.348, allocations: 0 / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.348, allocations: 4 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.348, allocations: 19.91 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.497e-05/0.3481, allocations: 53.5 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.965e-05/0.3482, allocations: 75.7 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3482, allocations: 4 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3482, allocations: 0 / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.3482, allocations: 0 / 1.06 GB, free: 3.164 MB / 0.8106 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.0005396/0.3487, allocations: 387.5 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3488, allocations: 19.91 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.3488, allocations: 38.75 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.3488, allocations: 8.844 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.349, allocations: 180.2 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.349, allocations: 4.375 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.349, allocations: 4.375 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.3493, allocations: 117.5 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.3493, allocations: 0 / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3493, allocations: 8 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.3493, allocations: 0 / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000376/0.3497, allocations: 123.8 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.3502, allocations: 340.7 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/0.3508, allocations: 134.5 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.351, allocations: 64.81 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.351, allocations: 3.984 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.3511, allocations: 34.55 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3511, allocations: 0 / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006851/0.3517, allocations: 213.5 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3518, allocations: 59.34 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3519, allocations: 137.6 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3519, allocations: 25.7 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.352, allocations: 88.08 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.352, allocations: 27.64 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.3521, allocations: 21.72 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3522, allocations: 314.8 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.3524, allocations: 55.95 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.3526, allocations: 59.95 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.353, allocations: 116.8 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.353, allocations: 0 / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004383/0.3534, allocations: 161.5 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3535, allocations: 4 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3535, allocations: 4 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3535, allocations: 0 / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.3537, allocations: 31.97 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.3537, allocations: 0 / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.3538, allocations: 27.83 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3538, allocations: 7.984 kB / 1.063 GB, free: 168 kB / 0.8106 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 0.000109/0.354, allocations: 113.8 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.354, allocations: 7.906 kB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/0.3545, allocations: 173.9 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3545, allocations: 3.984 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3545, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3545, allocations: 3.938 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.3548, allocations: 201.6 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3548, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.355, allocations: 27.97 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.355, allocations: 4 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.355, allocations: 3.984 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.355, allocations: 4 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.355, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.3555, allocations: 267.8 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.3556, allocations: 81.05 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.3556, allocations: 0 / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.3558, allocations: 23.98 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.3559, allocations: 23.91 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.3559, allocations: 7.984 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.029e-05/0.3559, allocations: 91.27 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3559, allocations: 0 / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002375/0.3562, allocations: 19.91 kB / 1.064 GB, free: 15.03 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 (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.0007876/0.357, allocations: 0.7867 MB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000418/0.3574, allocations: 131.8 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3574, allocations: 0 / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.3576, allocations: 75.88 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3579, allocations: 17.31 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.36, allocations: 1.596 MB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.3604, allocations: 0.6965 MB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.367e-05/0.3604, allocations: 15.98 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.687e-05/0.3605, allocations: 23.42 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3605, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05294/0.4135, allocations: 2.258 MB / 1.07 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.4137, allocations: 214.8 kB / 1.07 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.208, allocations: 0 / 1.07 GB, free: 9.164 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches