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.005243/0.005243, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00147/0.00147, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.403/2.403, allocations: 437.1 MB / 0.7106 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 71.88 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2591, allocations: 151.6 MB / 1.166 GB, free: 7.234 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001825/0.261, allocations: 0.7815 MB / 1.167 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.262, allocations: 0.8663 MB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.2621, allocations: 0 / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.2621, allocations: 11.86 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.978e-05/0.2622, allocations: 11.88 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.2624, allocations: 39.95 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.2625, allocations: 91.75 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.2626, allocations: 23.98 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.2627, allocations: 31.92 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.2628, allocations: 51.8 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.2628, allocations: 8 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.2628, allocations: 12 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.2628, allocations: 19.92 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.2629, allocations: 39.78 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.263, allocations: 91.88 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.263, allocations: 0 / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.122e-06/0.263, allocations: 3.938 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.2631, allocations: 0 / 1.168 GB, free: 5.137 MB / 0.92 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.000564/0.2636, allocations: 395.1 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.2637, allocations: 12.03 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.2637, allocations: 34.75 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.2637, allocations: 12.89 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2639, allocations: 176.3 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2639, allocations: 4.375 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.2639, allocations: 12.12 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.2642, allocations: 101.5 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2642, allocations: 0 / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2642, allocations: 8 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2643, allocations: 3.938 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.2646, allocations: 99.28 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.2651, allocations: 340.6 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.2657, allocations: 126.5 kB / 1.17 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.2659, allocations: 52.81 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2659, allocations: 0 / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.2659, allocations: 34.56 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.2659, allocations: 4 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006187/0.2666, allocations: 189.4 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.2666, allocations: 51.41 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.068e-05/0.2667, allocations: 129.7 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.2667, allocations: 33.7 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.2668, allocations: 88.09 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.2668, allocations: 27.78 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.2669, allocations: 25.66 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.267, allocations: 318.8 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.2672, allocations: 43.95 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.2673, allocations: 48.27 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.2677, allocations: 104.9 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2677, allocations: 0 / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003942/0.2681, allocations: 137.5 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2681, allocations: 8 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.2681, allocations: 0 / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2681, allocations: 0 / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.2683, allocations: 23.97 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2683, allocations: 11.92 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2684, allocations: 11.98 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.2684, allocations: 0 / 1.171 GB, free: 2.293 MB / 0.92 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.306e-05/0.2685, allocations: 117.8 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.2686, allocations: 11.95 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.269, allocations: 157.9 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.269, allocations: 0 / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.269, allocations: 3.938 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.269, allocations: 0 / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.2692, allocations: 201.6 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2693, allocations: 0 / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.2694, allocations: 23.97 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2694, allocations: 0 / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.2694, allocations: 0 / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2694, allocations: 0 / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.2694, allocations: 3.938 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.2699, allocations: 247.3 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.27, allocations: 92.94 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.27, allocations: 0 / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.2701, allocations: 15.97 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.2702, allocations: 23.92 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2702, allocations: 3.984 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.088e-05/0.2703, allocations: 107.2 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2703, allocations: 0 / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002099/0.2705, allocations: 12 kB / 1.172 GB, free: 1.191 MB / 0.92 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.0007427/0.2712, allocations: 0.767 MB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003935/0.2717, allocations: 103.9 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2717, allocations: 0 / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.2719, allocations: 63.88 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.2721, allocations: 20.55 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.2741, allocations: 1.529 MB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.2744, allocations: 0.6924 MB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.017e-05/0.2744, allocations: 12 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/0.2745, allocations: 31.41 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.2745, allocations: 4 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.409/2.684, allocations: 2.701 MB / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/18.03, allocations: 13.81 kB / 1.178 GB, free: 11.22 MB / 0.9356 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=400 --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