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.001411/0.001411, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001599/0.001599, allocations: 193.4 kB / 16.14 MB, free: 6.645 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.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.48 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.317/2.317, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.6175, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002131/0.6196, allocations: 0.8398 MB / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.6207, allocations: 0.8663 MB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.822e-05/0.6208, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.252e-05/0.6209, allocations: 7.938 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.029e-05/0.621, allocations: 7.875 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.6212, allocations: 35.95 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.6213, allocations: 83.73 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.6214, allocations: 23.97 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.729e-05/0.6215, allocations: 47.83 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.307e-05/0.6216, allocations: 39.83 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.6216, allocations: 4 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.6216, allocations: 4 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.6217, allocations: 23.91 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.6217, allocations: 27.86 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.6219, allocations: 83.66 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6219, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6219, allocations: 4 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.6219, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 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.0006027/0.6225, allocations: 397.5 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.6225, allocations: 8.031 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.6226, allocations: 34.75 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.6226, allocations: 8.844 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.6228, allocations: 184.2 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.6228, allocations: 384 / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.6228, allocations: 8.422 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.6231, allocations: 109.5 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.6232, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.6232, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.6232, allocations: 4 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003647/0.6236, allocations: 99.89 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.6241, allocations: 344.5 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/0.6247, allocations: 126.5 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.6249, allocations: 56.81 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.6249, allocations: 4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.625, allocations: 34.5 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.031e-06/0.625, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006341/0.6256, allocations: 189.4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.6257, allocations: 51.41 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.6258, allocations: 129.7 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.6258, allocations: 25.7 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.6259, allocations: 99.98 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.6259, allocations: 19.73 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.6259, allocations: 25.66 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6261, allocations: 326.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.6262, allocations: 43.95 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.6264, allocations: 43.95 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.6267, allocations: 100.8 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.6267, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003803/0.6271, allocations: 138 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.6271, allocations: 4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6272, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.6272, allocations: 3.984 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.6274, allocations: 31.91 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.6274, allocations: 4.062 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.6275, allocations: 15.92 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.6275, allocations: 4 kB / 1.021 GB, free: 13.86 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 8.734e-05/0.6276, allocations: 114.4 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.6276, allocations: 7.906 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.6281, allocations: 149.9 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6281, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6281, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.6281, allocations: 3.938 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.6283, allocations: 201.5 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6283, allocations: 3.984 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.6285, allocations: 23.97 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6285, allocations: 8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.6285, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6285, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6285, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.629, allocations: 235.3 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.6291, allocations: 89.02 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.6291, allocations: 3.984 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.6292, allocations: 11.98 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.6293, allocations: 27.84 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.6293, allocations: 8 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.545e-05/0.6294, allocations: 99.2 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6294, allocations: 3.938 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002287/0.6296, allocations: 19.94 kB / 1.022 GB, free: 12.76 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.0007453/0.6304, allocations: 0.7631 MB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003887/0.6308, allocations: 111.8 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6308, allocations: 4 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.631, allocations: 55.95 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.6313, allocations: 17.89 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.6334, allocations: 1.542 MB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.6337, allocations: 0.6887 MB / 1.025 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.594e-05/0.6338, allocations: 12 kB / 1.025 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.746e-05/0.6338, allocations: 27.41 kB / 1.025 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6339, allocations: 3.938 kB / 1.025 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.6474, allocations: 2.331 MB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.6477, allocations: 202.2 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.211, allocations: 4 kB / 1.028 GB, free: 6.91 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