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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001569/0.001569, 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.002147/0.002147, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7345/0.7358, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002444/0.7383, allocations: 0.7673 MB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.7394, allocations: 0.8663 MB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.7394, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.539e-05/0.7395, allocations: 7.875 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.813e-05/0.7396, allocations: 15.81 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.7398, allocations: 35.94 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.7399, allocations: 83.83 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.74, allocations: 39.95 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.711e-05/0.7401, allocations: 39.8 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.045e-05/0.7402, allocations: 47.81 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.7403, allocations: 8 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.653e-05/0.7403, allocations: 8 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.7404, allocations: 27.91 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.7404, allocations: 27.86 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.7406, allocations: 87.66 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7406, allocations: 0 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7406, allocations: 0 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.7406, allocations: 4 kB / 1.019 GB, free: 424 kB / 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.00063/0.7412, allocations: 397.4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.7413, allocations: 8.031 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.7413, allocations: 34.75 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.7414, allocations: 8.844 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.7415, allocations: 192.1 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.7416, allocations: 384 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.7416, allocations: 12.36 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.7419, allocations: 109.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.7419, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.7419, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.742, allocations: 4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.7423, allocations: 103.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.7429, allocations: 336.6 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006397/0.7436, allocations: 130.5 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.7438, allocations: 56.81 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.7438, allocations: 3.984 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.7439, allocations: 30.56 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.7439, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007093/0.7446, allocations: 181.5 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.7446, allocations: 51.41 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.7448, allocations: 125.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.7448, allocations: 29.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.7449, allocations: 99.98 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.7449, allocations: 23.67 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.745, allocations: 21.72 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7451, allocations: 318.8 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.7453, allocations: 43.95 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.7455, allocations: 51.95 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.7458, allocations: 96.75 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7458, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004174/0.7463, allocations: 137.5 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.7463, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7463, allocations: 3.938 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.7463, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.7465, allocations: 27.91 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.7465, allocations: 3.984 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.7466, allocations: 19.92 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.7466, allocations: 0 / 1.022 GB, free: 13.56 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 9.652e-05/0.7467, allocations: 117.8 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.7468, allocations: 7.906 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.7472, allocations: 145.9 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.7473, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.7473, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7473, allocations: 11.88 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.7475, allocations: 197.6 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7475, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.7477, allocations: 23.97 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7477, allocations: 4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.7477, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7477, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7477, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.7482, allocations: 239.9 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.7482, allocations: 89.02 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.7482, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.7484, allocations: 15.97 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/0.7485, allocations: 23.86 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.7485, allocations: 15.92 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.052e-05/0.7486, allocations: 91.28 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7486, allocations: 4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000241/0.7488, allocations: 15.94 kB / 1.023 GB, free: 12.47 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.0008716/0.7497, allocations: 0.7749 MB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000462/0.7502, allocations: 107.8 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7502, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.7504, allocations: 63.94 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.7508, allocations: 15.09 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.753, allocations: 1.525 MB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.7533, allocations: 0.6903 MB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.049e-05/0.7533, allocations: 19.92 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.7534, allocations: 27.42 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of SimCode: time 4.2e-07/0.7534, allocations: 0 / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.7725, allocations: 2.653 MB / 1.029 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/8.535, allocations: 13.17 kB / 1.029 GB, free: 6.527 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