Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.001462/0.001462, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001582/0.001582, allocations: 209.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.383/3.383, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 72.86 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3845, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002515/0.387, allocations: 0.6905 MB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3882, allocations: 0.828 MB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.3883, allocations: 0 / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.3883, allocations: 3.938 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.184e-05/0.3884, allocations: 3.938 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.497e-05/0.3884, allocations: 15.98 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.3885, allocations: 43.86 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3887, allocations: 15.97 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.072e-05/0.3887, allocations: 15.98 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.96e-05/0.3888, allocations: 19.91 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.3888, allocations: 4 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.3888, allocations: 4 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.3889, allocations: 11.92 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.3889, allocations: 15.94 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.389, allocations: 44.03 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.389, allocations: 4 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.825e-06/0.389, allocations: 4 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.389, allocations: 0 / 1.365 GB, free: 12.31 MB / 1.061 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.0005868/0.3896, allocations: 282.2 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.3897, allocations: 12.03 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.3897, allocations: 30.75 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.3897, allocations: 8.891 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3899, allocations: 110.5 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3899, allocations: 4.375 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.3899, allocations: 384 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.3902, allocations: 82.14 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3902, allocations: 7.938 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3902, allocations: 3.938 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3902, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.3905, allocations: 59.94 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.3909, allocations: 235.9 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.3911, allocations: 58.64 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.3913, allocations: 40.81 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3913, allocations: 3.938 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.3913, allocations: 30.56 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3913, allocations: 0 / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005591/0.3919, allocations: 129.6 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.392, allocations: 59.41 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.3921, allocations: 105.8 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.3921, allocations: 25.7 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.3922, allocations: 92.09 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.3922, allocations: 3.953 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.3922, allocations: 21.64 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3924, allocations: 318.8 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.3925, allocations: 31.97 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3927, allocations: 35.89 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.3929, allocations: 72.72 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3929, allocations: 4 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003079/0.3933, allocations: 93.62 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3933, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3933, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3933, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.3934, allocations: 15.98 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3934, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.101e-05/0.3935, allocations: 23.92 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3935, allocations: 320 / 1.367 GB, free: 10.14 MB / 1.061 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 0.0001527/0.3937, allocations: 117.7 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.3937, allocations: 4.328 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.3937, allocations: 8 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3937, allocations: 3.984 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3937, allocations: 4 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3937, allocations: 3.938 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.3939, allocations: 136.6 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3939, allocations: 4 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.281e-05/0.394, allocations: 15.97 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.394, allocations: 0 / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.394, allocations: 4 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.394, allocations: 0 / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.394, allocations: 0 / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.3944, allocations: 195.4 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.3944, allocations: 8 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3944, allocations: 11.92 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3945, allocations: 11.98 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.3946, allocations: 4 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.3946, allocations: 0 / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.3946, allocations: 91.25 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3946, allocations: 0 / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002188/0.3948, allocations: 8 kB / 1.368 GB, free: 9.445 MB / 1.061 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.0007309/0.3956, allocations: 0.7319 MB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.3959, allocations: 67.86 kB / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3959, allocations: 0 / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.3961, allocations: 35.97 kB / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3964, allocations: 14.58 kB / 1.368 GB, free: 8.574 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.3969, allocations: 147.2 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.691e-05/0.397, allocations: 67.33 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.213e-05/0.397, allocations: 0 / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.3971, allocations: 15.44 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3971, allocations: 0 / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.426, allocations: 2.189 MB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.77, allocations: 4.5 kB / 1.371 GB, free: 6.234 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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: 18.835009332746267]