Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 107 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002188/0.002188, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.163/3.163, allocations: 497.2 MB / 0.7811 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003079/0.003079, allocations: 71.45 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3854, allocations: 173.9 MB / 1.304 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002203/0.3876, allocations: 0.677 MB / 1.305 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3887, allocations: 0.8004 MB / 1.305 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.3887, allocations: 4 kB / 1.305 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.3887, allocations: 3.938 kB / 1.305 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.3888, allocations: 3.984 kB / 1.305 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.3889, allocations: 7.938 kB / 1.305 GB, free: 8 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.389, allocations: 27.98 kB / 1.306 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.3891, allocations: 4 kB / 1.306 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.3892, allocations: 11.92 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.3892, allocations: 11.94 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3893, allocations: 0 / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.3893, allocations: 4 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.3893, allocations: 11.97 kB / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.3893, allocations: 3.938 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.139e-05/0.3894, allocations: 24.12 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3894, allocations: 4 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3894, allocations: 0 / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3894, allocations: 4 kB / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005098/0.3899, allocations: 335.5 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.39, allocations: 8.922 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.39, allocations: 38.75 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.39, allocations: 0.9375 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.3902, allocations: 164.4 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3902, allocations: 384 / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.3902, allocations: 4.375 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3904, allocations: 54.23 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3904, allocations: 11.86 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.3904, allocations: 0 / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3904, allocations: 0 / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.3906, allocations: 31.97 kB / 1.306 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.3909, allocations: 248.9 kB / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.3911, allocations: 42.5 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.316e-05/0.3911, allocations: 24.84 kB / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.3912, allocations: 0 / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.3912, allocations: 38.48 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3912, allocations: 0 / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.000354/0.3915, allocations: 77.66 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.3916, allocations: 51.41 kB / 1.307 GB, free: 14.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.3917, allocations: 101.8 kB / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3917, allocations: 29.7 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.3918, allocations: 84.14 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.3918, allocations: 3.953 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.3918, allocations: 17.83 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.392, allocations: 322.8 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.3921, allocations: 11.98 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.068e-05/0.3921, allocations: 19.92 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.3923, allocations: 40.81 kB / 1.307 GB, free: 13.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3923, allocations: 8 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001854/0.3925, allocations: 61.67 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3925, allocations: 4 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3925, allocations: 0 / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3925, allocations: 7.984 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.3926, allocations: 4 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3926, allocations: 0 / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.3927, allocations: 7.984 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.3927, allocations: 4.031 kB / 1.307 GB, free: 13.84 MB / 1.014 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 (2): * Single equations (assignments): 2 * 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.0001059/0.3928, allocations: 121.7 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.3928, allocations: 0 / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.393, allocations: 76.67 kB / 1.308 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.393, allocations: 4 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.393, allocations: 0 / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.393, allocations: 3.984 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.3932, allocations: 161.6 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3932, allocations: 0 / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.3933, allocations: 11.98 kB / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3933, allocations: 0 / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3933, allocations: 4 kB / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.3933, allocations: 0 / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3933, allocations: 0 / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.3936, allocations: 171.4 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.3936, allocations: 77.11 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.3936, allocations: 0 / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.3937, allocations: 7.984 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.3938, allocations: 4 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.3938, allocations: 3.938 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.056e-05/0.3938, allocations: 83.28 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3938, allocations: 0 / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002131/0.394, allocations: 8.031 kB / 1.308 GB, free: 13.02 MB / 1.014 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 (2): * Single equations (assignments): 2 * 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.000671/0.3947, allocations: 0.6971 MB / 1.309 GB, free: 12.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.3949, allocations: 39.94 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3949, allocations: 0 / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.395, allocations: 23.97 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.3953, allocations: 4 kB / 1.309 GB, free: 12.22 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.3957, allocations: 135.1 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.3961, allocations: 0.6808 MB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.3961, allocations: 3.938 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.3962, allocations: 15.44 kB / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.3962, allocations: 0 / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.4199, allocations: 1.283 MB / 1.311 GB, free: 10.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.43, allocations: 8.766 kB / 1.311 GB, free: 10.12 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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: 15.10326483566314]