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.001404/0.001404, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001748/0.001748, allocations: 204.2 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.793 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.377/3.377, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.0021/0.0021, allocations: 62.84 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3553, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002036/0.3573, allocations: 0.6153 MB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3584, allocations: 0.8397 MB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.3585, allocations: 3.938 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.3585, allocations: 4 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.3586, allocations: 11.88 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.3588, allocations: 4 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.667e-05/0.3588, allocations: 19.92 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.362e-05/0.3589, allocations: 7.984 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.3591, allocations: 19.92 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.3591, allocations: 3.938 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.3591, allocations: 4 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.283e-05/0.3592, allocations: 0 / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.3592, allocations: 8 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.3592, allocations: 3.984 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.3594, allocations: 36.11 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3594, allocations: 0 / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3594, allocations: 0 / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3594, allocations: 0 / 1.365 GB, free: 12.52 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.0005171/0.3599, allocations: 246.4 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.3599, allocations: 12.03 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.452e-05/0.36, allocations: 34.75 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.3602, allocations: 12.89 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.3603, allocations: 106.5 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3603, allocations: 384 / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.3604, allocations: 8.375 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.3605, allocations: 34.25 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3605, allocations: 3.938 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3605, allocations: 3.938 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3605, allocations: 0 / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.058e-05/0.3606, allocations: 15.98 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.3608, allocations: 120.8 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.877e-05/0.3609, allocations: 30.53 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.3609, allocations: 12.92 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3609, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.361, allocations: 34.56 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 4.759e-06/0.361, allocations: 3.984 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0002238/0.3612, allocations: 61.55 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.3613, allocations: 51.41 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3614, allocations: 105.8 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3614, allocations: 29.64 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.3614, allocations: 80.14 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.3615, allocations: 12.08 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.3615, allocations: 9.719 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3617, allocations: 314.8 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.3617, allocations: 7.984 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.3617, allocations: 8 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.512e-05/0.3618, allocations: 24.78 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3618, allocations: 0 / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001089/0.3619, allocations: 46 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3619, allocations: 7.938 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.362, allocations: 4 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.362, allocations: 0 / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.362, allocations: 7.984 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.362, allocations: 4 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.3621, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.3621, allocations: 4 kB / 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 0.0001011/0.3622, allocations: 109.8 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.3622, allocations: 3.938 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.3622, allocations: 11.17 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3622, allocations: 0 / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3622, allocations: 0 / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.3622, allocations: 0 / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.3623, allocations: 132.6 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3623, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.3624, allocations: 4 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.3624, allocations: 7.875 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3624, allocations: 3.938 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3624, allocations: 4 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3624, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.3625, allocations: 73.11 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-06/0.3625, allocations: 4 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3625, allocations: 3.938 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.521e-05/0.3626, allocations: 0 / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.3626, allocations: 0 / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3626, allocations: 4 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.3627, allocations: 87.27 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3627, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001722/0.3628, allocations: 0 / 1.367 GB, free: 10.38 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.0004777/0.3633, allocations: 0.6085 MB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.3634, allocations: 23.92 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3634, allocations: 0 / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.884e-05/0.3635, allocations: 8 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.3636, allocations: 5.891 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.364, allocations: 135.1 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.954e-05/0.364, allocations: 59.34 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.3641, allocations: 0 / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.3641, allocations: 15.44 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.3641, allocations: 0 / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.3924, allocations: 1.617 MB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.12, allocations: 11.09 kB / 1.369 GB, free: 7.949 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv --start-time 0 --stop-time 130 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 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.csv","/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.234187331981957]