Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007457/0.0007457, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008391/0.0008391, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8831/0.8831, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.708/1.708, allocations: 377.8 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.157e-05, allocations: 2.281 kB / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001482/0.001503, allocations: 0.7588 MB / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007843/0.002288, allocations: 0.8899 MB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.002328, allocations: 0 / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.002357, allocations: 3.938 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.002428, allocations: 7.875 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.002582, allocations: 47.88 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.834e-05/0.002671, allocations: 87.77 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.002773, allocations: 23.91 kB / 0.9827 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.996e-05/0.002853, allocations: 47.91 kB / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.002911, allocations: 35.94 kB / 0.9828 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.002935, allocations: 8 kB / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.002946, allocations: 8 kB / 0.9828 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.002968, allocations: 23.91 kB / 0.9829 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.002996, allocations: 27.91 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.003102, allocations: 95.7 kB / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003104, allocations: 3.938 kB / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003105, allocations: 0 / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003108, allocations: 4 kB / 0.983 GB, free: 0.4922 MB / 0.9323 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.0004321/0.00354, allocations: 314 kB / 0.9833 GB, free: 160 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.003579, allocations: 12.03 kB / 0.9833 GB, free: 148 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.119e-05/0.00361, allocations: 34.75 kB / 0.9833 GB, free: 104 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.003637, allocations: 8.891 kB / 0.9833 GB, free: 96 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.003739, allocations: 125.7 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.003751, allocations: 384 / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.003764, allocations: 8.359 kB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.003951, allocations: 117.9 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.003958, allocations: 0 / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.003968, allocations: 0 / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.003973, allocations: 7.938 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.004168, allocations: 99.83 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.004525, allocations: 299.8 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.004855, allocations: 114.5 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.33e-05/0.004949, allocations: 56.81 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.004966, allocations: 0 / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.004983, allocations: 30.56 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.004984, allocations: 0 / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0003685/0.005352, allocations: 189.4 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.005378, allocations: 55.34 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.005443, allocations: 125.8 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.005455, allocations: 33.7 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.005493, allocations: 92.03 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.005513, allocations: 23.84 kB / 0.9847 GB, free: 14.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.005546, allocations: 25.7 kB / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.005736, allocations: 326.8 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/0.005826, allocations: 43.95 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.304e-05/0.005909, allocations: 43.95 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.006088, allocations: 105.2 kB / 0.9852 GB, free: 14.06 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.006092, allocations: 4 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002563/0.006348, allocations: 133.5 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.006359, allocations: 4 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006364, allocations: 0 / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.006374, allocations: 0 / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.73e-05/0.006462, allocations: 27.97 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.006466, allocations: 4 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.006517, allocations: 15.97 kB / 0.9854 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.006525, allocations: 7.938 kB / 0.9854 GB, free: 13.86 MB / 0.948 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 5.773e-05/0.006583, allocations: 113.8 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.006598, allocations: 7.891 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.006847, allocations: 161.9 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006849, allocations: 0 / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.006853, allocations: 0 / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.006856, allocations: 0 / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.006987, allocations: 164.6 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.006987, allocations: 0 / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/0.007052, allocations: 23.97 kB / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.007053, allocations: 0 / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.007062, allocations: 7.984 kB / 0.9858 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.007063, allocations: 0 / 0.9858 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007064, allocations: 4 kB / 0.9858 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.007292, allocations: 239.3 kB / 0.9861 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.007303, allocations: 7.953 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.007315, allocations: 4 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.128e-05/0.007377, allocations: 15.98 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.007432, allocations: 19.97 kB / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/0.007437, allocations: 4 kB / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.007473, allocations: 95.27 kB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007473, allocations: 0 / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001468/0.007619, allocations: 19.94 kB / 0.9862 GB, free: 12.91 MB / 0.948 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.0003971/0.008017, allocations: 0.7592 MB / 0.987 GB, free: 12.13 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.008233, allocations: 115.8 kB / 0.9871 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.008235, allocations: 0 / 0.9871 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.873e-05/0.008333, allocations: 59.94 kB / 0.9871 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.008532, allocations: 6.969 kB / 0.9871 GB, free: 11.95 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.009737, allocations: 1.554 MB / 0.9886 GB, free: 10.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.701e-05/0.009784, allocations: 75.33 kB / 0.9887 GB, free: 10.22 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.124e-05/0.009826, allocations: 15.75 kB / 0.9887 GB, free: 10.21 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.009886, allocations: 36.45 kB / 0.9888 GB, free: 10.17 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/0.009887, allocations: 8 kB / 0.9888 GB, free: 10.16 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.02679, allocations: 3.472 MB / 0.9922 GB, free: 6.84 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.851/6.878, allocations: 13.94 kB / 0.9922 GB, free: 6.836 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.865455833263695]