Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008374/0.0008374, 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.0008424/0.0008424, allocations: 165.9 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.881/0.881, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.74/1.74, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.973e-05/5.284e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001708/0.001761, allocations: 0.7513 MB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.002675, allocations: 0.8906 MB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-05/0.002718, allocations: 4 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.002749, allocations: 7.875 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.356e-05/0.002823, allocations: 11.86 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.003002, allocations: 35.95 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.307e-05/0.003095, allocations: 91.8 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.0032, allocations: 23.88 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.543e-05/0.003295, allocations: 51.88 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/0.003356, allocations: 39.89 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.003381, allocations: 8 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.003392, allocations: 8 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.003415, allocations: 27.91 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.003441, allocations: 19.98 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.003555, allocations: 103.6 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.003557, allocations: 0 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.563e-06/0.003559, allocations: 0 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003563, allocations: 0 / 1.002 GB, free: 11.43 MB / 0.9636 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.0004305/0.003993, allocations: 314.1 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.004031, allocations: 16.73 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.004065, allocations: 34.75 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.004093, allocations: 12.84 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.789e-05/0.004181, allocations: 113.7 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.004194, allocations: 4.375 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.004207, allocations: 8.375 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.00452, allocations: 117.8 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.004527, allocations: 0 / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.004537, allocations: 4 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.004543, allocations: 4 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.004733, allocations: 91.91 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.005114, allocations: 299.8 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.005462, allocations: 118.6 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.573e-05/0.005558, allocations: 48.81 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.005579, allocations: 4 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.005595, allocations: 34.56 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.005596, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003874/0.005983, allocations: 185.4 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.006013, allocations: 55.41 kB / 1.003 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.263e-05/0.006086, allocations: 121.8 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.006099, allocations: 25.7 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.006142, allocations: 104 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.006162, allocations: 15.91 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.006198, allocations: 21.7 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.758e-05/0.006276, allocations: 322.8 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.825e-05/0.006374, allocations: 47.95 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.829e-05/0.006462, allocations: 52.23 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.006644, allocations: 100.8 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006646, allocations: 0 / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002248/0.006871, allocations: 141.5 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.006885, allocations: 11.94 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.00689, allocations: 0 / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.006902, allocations: 0 / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.006987, allocations: 23.97 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.00699, allocations: 0 / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.007039, allocations: 11.98 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.007047, allocations: 3.938 kB / 1.004 GB, free: 8.82 MB / 0.9636 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 6.259e-05/0.00711, allocations: 121.8 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.007127, allocations: 7.953 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.007392, allocations: 157.9 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.007396, allocations: 3.984 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.0074, allocations: 0 / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.007402, allocations: 4 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.007535, allocations: 168.5 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007536, allocations: 0 / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.862e-05/0.007605, allocations: 23.97 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.007607, allocations: 0 / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.007614, allocations: 0 / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007615, allocations: 0 / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007616, allocations: 4 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.007864, allocations: 243.3 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.007876, allocations: 7.953 kB / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.007888, allocations: 0 / 1.005 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-05/0.007953, allocations: 15.97 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.008013, allocations: 23.91 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.008019, allocations: 4 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.794e-05/0.008057, allocations: 99.64 kB / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008057, allocations: 0 / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001606/0.008218, allocations: 15.94 kB / 1.005 GB, free: 7.863 MB / 0.9636 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.0004715/0.008689, allocations: 0.767 MB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004808/0.00917, allocations: 104.3 kB / 1.006 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009172, allocations: 4 kB / 1.006 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.009283, allocations: 63.89 kB / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.009545, allocations: 11.98 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.01083, allocations: 1.541 MB / 1.007 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.01088, allocations: 75.33 kB / 1.007 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.01093, allocations: 8 kB / 1.007 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.01099, allocations: 32.67 kB / 1.007 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.01099, allocations: 0 / 1.007 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.02724, allocations: 3.493 MB / 1.011 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.543/6.571, allocations: 12.62 kB / 1.011 GB, free: 1.766 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.556813007220626]