Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.001353/0.001353, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001517/0.001517, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.805 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.427/3.427, allocations: 0.5107 GB / 0.8158 GB, free: 17.92 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.Sources.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",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.002127/0.002127, allocations: 71.02 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3948, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002111/0.3969, allocations: 0.6218 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.3981, allocations: 0.8397 MB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.3981, allocations: 0 / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.3981, allocations: 0 / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.028e-05/0.3982, allocations: 15.91 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.3984, allocations: 8 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.3985, allocations: 19.92 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.3985, allocations: 4 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.3987, allocations: 15.88 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.3987, allocations: 7.984 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.3987, allocations: 0 / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.186e-05/0.3988, allocations: 7.984 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.3988, allocations: 4 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.3988, allocations: 7.938 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.3989, allocations: 28.12 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3989, allocations: 0 / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3989, allocations: 4 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.3989, allocations: 0 / 1.365 GB, free: 12.5 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004282/0.3994, allocations: 242.4 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3994, allocations: 12.03 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.3994, allocations: 34.75 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.3996, allocations: 20.88 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.3997, allocations: 102.5 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3997, allocations: 384 / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3997, allocations: 384 / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.3999, allocations: 46.19 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3999, allocations: 3.938 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.3999, allocations: 0 / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3999, allocations: 0 / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.686e-05/0.3999, allocations: 15.98 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.4001, allocations: 128.7 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.81e-05/0.4002, allocations: 18.61 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.4003, allocations: 16.91 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.4003, allocations: 3.938 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.4003, allocations: 38.56 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4003, allocations: 0 / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000231/0.4005, allocations: 57.61 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.4006, allocations: 51.41 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.4007, allocations: 97.86 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.4007, allocations: 29.7 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.4007, allocations: 84.12 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.4008, allocations: 3.953 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.4008, allocations: 13.72 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4009, allocations: 319 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.835e-05/0.401, allocations: 7.984 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.401, allocations: 7.938 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.106e-05/0.4011, allocations: 24.84 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4011, allocations: 3.938 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001052/0.4012, allocations: 41.69 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4012, allocations: 7.938 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.4012, allocations: 4.094 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4012, allocations: 4 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.4013, allocations: 3.984 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.4013, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.4013, allocations: 4 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.4013, allocations: 0 / 1.366 GB, free: 10.89 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 (1): * Single equations (assignments): 1 * 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 9.032e-05/0.4014, allocations: 109.8 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.4014, allocations: 11.88 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.4014, allocations: 3.156 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4014, allocations: 3.984 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.4015, allocations: 7.984 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4015, allocations: 0 / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.4016, allocations: 132.6 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4016, allocations: 256 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.4016, allocations: 11.98 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4016, allocations: 3.938 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.4016, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4016, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4016, allocations: 4 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.4018, allocations: 69.12 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.4018, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.4018, allocations: 11.92 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.73e-05/0.4018, allocations: 3.938 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.4018, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.4018, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.494e-05/0.4019, allocations: 87.22 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4019, allocations: 4 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000187/0.4021, allocations: 3.984 kB / 1.367 GB, free: 10.35 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 (1): * Single equations (assignments): 1 * 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.0004619/0.4026, allocations: 0.6008 MB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.4027, allocations: 19.98 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4027, allocations: 0 / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.594e-05/0.4027, allocations: 11.92 kB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.4029, allocations: 4 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.4033, allocations: 132.6 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.081e-05/0.4033, allocations: 63.5 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.4034, allocations: 0 / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.4034, allocations: 11.44 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4034, allocations: 0 / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.4322, allocations: 1.617 MB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.91, allocations: 12.36 kB / 1.369 GB, free: 7.934 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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: 19.03328572679311]