Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001016/0.001016, 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.0008448/0.0008448, 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.8588/0.8588, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.786/1.786, allocations: 389 MB / 0.633 GB, free: 12.66 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.Reals.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 0 / 0.9997 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.246e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001549/0.001582, allocations: 0.6834 MB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008982/0.00248, allocations: 0.8315 MB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.002528, allocations: 0 / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.002563, allocations: 3.938 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.962e-05/0.002633, allocations: 7.984 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.002754, allocations: 27.8 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.479e-05/0.002838, allocations: 43.84 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.002947, allocations: 8 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/0.003027, allocations: 23.92 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.00307, allocations: 15.97 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.003104, allocations: 4 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.003113, allocations: 4 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.003131, allocations: 11.92 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.003155, allocations: 11.98 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.312e-05/0.003249, allocations: 43.88 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.003253, allocations: 0 / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.174e-06/0.003255, allocations: 0 / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.003259, allocations: 4 kB / 1.001 GB, free: 11.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003883/0.003648, allocations: 286.2 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.003696, allocations: 8.75 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.00373, allocations: 30.75 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.003755, allocations: 8.891 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.931e-05/0.003834, allocations: 117.7 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.003845, allocations: 4.375 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.003856, allocations: 4.375 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.004034, allocations: 78.12 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002646/0.004299, allocations: 4.188 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.00431, allocations: 4.375 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.004318, allocations: 4.125 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.004466, allocations: 63.94 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.004835, allocations: 224.1 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.004974, allocations: 58.47 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.005056, allocations: 36.92 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.005081, allocations: 7.938 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.005105, allocations: 30.56 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.005106, allocations: 4 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003123/0.005418, allocations: 129.5 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.005446, allocations: 51.41 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/0.005514, allocations: 113.8 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.005524, allocations: 25.7 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.005563, allocations: 84.14 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.005581, allocations: 15.89 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.005611, allocations: 21.7 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.005691, allocations: 310.8 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.622e-05/0.005768, allocations: 27.97 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.005836, allocations: 35.95 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.005977, allocations: 68.78 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005979, allocations: 7.938 kB / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001677/0.006147, allocations: 101.5 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.00616, allocations: 4 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.006165, allocations: 3.938 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.006177, allocations: 3.938 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.006262, allocations: 19.98 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.006267, allocations: 320 / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.006304, allocations: 19.97 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.006311, allocations: 0 / 1.003 GB, free: 9.488 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.534e-05/0.006366, allocations: 105.8 kB / 1.003 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.006381, allocations: 7.938 kB / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.006585, allocations: 109.6 kB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.006587, allocations: 0 / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.006591, allocations: 0 / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006595, allocations: 384 / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.006703, allocations: 136.7 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006704, allocations: 0 / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.00675, allocations: 27.84 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.006753, allocations: 0 / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.006759, allocations: 0 / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.006761, allocations: 4 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.006764, allocations: 7.969 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.006958, allocations: 187.5 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.006971, allocations: 19.88 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.006981, allocations: 0 / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.314e-05/0.007035, allocations: 19.98 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.007071, allocations: 4 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.007074, allocations: 4 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.084e-05/0.007105, allocations: 87.27 kB / 1.004 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007105, allocations: 4 kB / 1.004 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001399/0.007245, allocations: 4 kB / 1.004 GB, free: 8.691 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003886/0.007634, allocations: 0.724 MB / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.007821, allocations: 71.92 kB / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007822, allocations: 0 / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.558e-05/0.007898, allocations: 39.89 kB / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.008155, allocations: 6.031 kB / 1.005 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.008526, allocations: 159.2 kB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.492e-05/0.008571, allocations: 71.22 kB / 1.005 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.008596, allocations: 3.938 kB / 1.005 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.008638, allocations: 16.5 kB / 1.005 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.008638, allocations: 0 / 1.005 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.0267, allocations: 2.326 MB / 1.007 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.47/6.497, allocations: 4 kB / 1.007 GB, free: 5.328 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.540351402945817]