Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.0009848/0.0009848, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009136/0.0009136, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.891/0.891, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.719/1.719, allocations: 377.8 MB / 0.6221 GB, free: 8.672 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.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.15e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001088/0.0011, allocations: 0.7562 MB / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006653/0.001765, allocations: 0.8938 MB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.001795, allocations: 0 / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.001815, allocations: 11.81 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.893e-05/0.001864, allocations: 11.86 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.001971, allocations: 39.89 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.194e-05/0.002053, allocations: 91.75 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 6.397e-05/0.002116, allocations: 15.98 kB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.002176, allocations: 51.89 kB / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.002222, allocations: 39.94 kB / 0.9828 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.002239, allocations: 8 kB / 0.9828 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-06/0.002248, allocations: 8 kB / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.002267, allocations: 23.91 kB / 0.9829 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.002288, allocations: 23.92 kB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.766e-05/0.002376, allocations: 99.62 kB / 0.983 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.303e-06/0.002377, allocations: 0 / 0.983 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002378, allocations: 0 / 0.983 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.414e-06/0.00238, allocations: 0 / 0.983 GB, free: 0.5078 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.0003085/0.002689, allocations: 320 kB / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.002717, allocations: 12.03 kB / 0.9833 GB, free: 160 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.002745, allocations: 34.75 kB / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.73e-05/0.002762, allocations: 8.891 kB / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.565e-05/0.002838, allocations: 117.7 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.00285, allocations: 4.375 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.00286, allocations: 4.375 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.003032, allocations: 120.3 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.003037, allocations: 0 / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.003048, allocations: 8 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003053, allocations: 4 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.003236, allocations: 95.84 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.003557, allocations: 299.8 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.003867, allocations: 114.6 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.5e-05/0.003962, allocations: 48.81 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.00398, allocations: 8 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.003994, allocations: 34.56 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.003995, allocations: 0 / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0003389/0.004334, allocations: 185.5 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.004358, allocations: 55.39 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/0.004425, allocations: 121.8 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.004437, allocations: 25.7 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.004475, allocations: 104 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.004493, allocations: 19.84 kB / 0.9847 GB, free: 14.63 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.004525, allocations: 21.7 kB / 0.9847 GB, free: 14.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.004592, allocations: 322.8 kB / 0.985 GB, free: 14.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.824e-05/0.004681, allocations: 47.95 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.483e-05/0.004765, allocations: 51.88 kB / 0.9851 GB, free: 14.18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.00494, allocations: 101.2 kB / 0.9852 GB, free: 14.08 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.004941, allocations: 3.938 kB / 0.9852 GB, free: 14.08 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001979/0.005139, allocations: 137.5 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.005149, allocations: 8 kB / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.005151, allocations: 0 / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.752e-06/0.005158, allocations: 0 / 0.9853 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.149e-05/0.005229, allocations: 23.97 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.005232, allocations: 0 / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.00528, allocations: 15.92 kB / 0.9854 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.005289, allocations: 19.92 kB / 0.9854 GB, free: 13.87 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,max1.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.473e-05/0.005343, allocations: 109.8 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.005359, allocations: 11.89 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.005588, allocations: 157.9 kB / 0.9856 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.005589, allocations: 0 / 0.9856 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.005592, allocations: 0 / 0.9856 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.005594, allocations: 4 kB / 0.9856 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.005709, allocations: 160.7 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005709, allocations: 0 / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.016e-05/0.005769, allocations: 23.97 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.00577, allocations: 0 / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.005777, allocations: 4 kB / 0.9858 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.005779, allocations: 4 kB / 0.9858 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.00578, allocations: 0 / 0.9858 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.006003, allocations: 243.3 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.006012, allocations: 7.953 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.006022, allocations: 0 / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.006084, allocations: 19.97 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.006127, allocations: 15.97 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.006133, allocations: 8 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.006166, allocations: 91.27 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006166, allocations: 0 / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001671/0.006334, allocations: 15.94 kB / 0.9862 GB, free: 12.94 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 (max1.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.0004353/0.006769, allocations: 0.7709 MB / 0.987 GB, free: 12.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.007007, allocations: 107.9 kB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.007009, allocations: 4 kB / 0.9871 GB, free: 12.03 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.007119, allocations: 55.89 kB / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.007321, allocations: 15.92 kB / 0.9871 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.008647, allocations: 1.547 MB / 0.9887 GB, free: 10.33 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.714e-05/0.008694, allocations: 77.91 kB / 0.9887 GB, free: 10.23 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.904e-05/0.008733, allocations: 15.75 kB / 0.9887 GB, free: 10.22 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.008791, allocations: 28.48 kB / 0.9888 GB, free: 10.19 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.008792, allocations: 0 / 0.9888 GB, free: 10.19 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.02425, allocations: 3.487 MB / 0.9922 GB, free: 6.855 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/6.921, allocations: 9.547 kB / 0.9922 GB, free: 6.852 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.929548057727516]