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.00195/0.00195, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.001598/0.001598, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.247/3.247, allocations: 0.505 GB / 0.8066 GB, free: 23.21 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.002935/0.002935, allocations: 74.84 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3976, allocations: 180.2 MB / 1.348 GB, free: 9.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001881/0.3995, allocations: 0.6209 MB / 1.348 GB, free: 9.379 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.4005, allocations: 0.8475 MB / 1.349 GB, free: 8.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.4006, allocations: 0 / 1.349 GB, free: 8.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.4006, allocations: 0 / 1.349 GB, free: 8.52 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.4007, allocations: 7.938 kB / 1.349 GB, free: 8.512 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.4008, allocations: 15.91 kB / 1.349 GB, free: 8.496 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.882e-05/0.4009, allocations: 15.94 kB / 1.349 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.4009, allocations: 8 kB / 1.349 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.4011, allocations: 15.92 kB / 1.349 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.4011, allocations: 11.98 kB / 1.349 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.4012, allocations: 0 / 1.349 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.766e-05/0.4012, allocations: 4 kB / 1.349 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.4012, allocations: 3.984 kB / 1.349 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.4012, allocations: 11.94 kB / 1.349 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.4013, allocations: 24.12 kB / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4013, allocations: 0 / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4013, allocations: 0 / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.4013, allocations: 0 / 1.349 GB, free: 8.402 MB / 1.045 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.0004373/0.4018, allocations: 331.5 kB / 1.35 GB, free: 8.027 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4018, allocations: 11.98 kB / 1.35 GB, free: 8.016 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.4019, allocations: 38.69 kB / 1.35 GB, free: 7.969 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.402, allocations: 8.922 kB / 1.35 GB, free: 7.961 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.4021, allocations: 168.3 kB / 1.35 GB, free: 7.758 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.4021, allocations: 384 / 1.35 GB, free: 7.758 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.4022, allocations: 384 / 1.35 GB, free: 7.758 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.4023, allocations: 50.17 kB / 1.35 GB, free: 7.703 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.4023, allocations: 3.938 kB / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.4023, allocations: 0 / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.4023, allocations: 0 / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.659e-05/0.4024, allocations: 15.98 kB / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.4025, allocations: 149.7 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.9e-05/0.4026, allocations: 34.53 kB / 1.35 GB, free: 7.445 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.4027, allocations: 12.92 kB / 1.35 GB, free: 7.43 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.4027, allocations: 0 / 1.35 GB, free: 7.43 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.4027, allocations: 30.56 kB / 1.35 GB, free: 7.391 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.4027, allocations: 0 / 1.35 GB, free: 7.391 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0002181/0.4029, allocations: 57.61 kB / 1.35 GB, free: 7.328 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.403, allocations: 55.34 kB / 1.35 GB, free: 7.262 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/0.4031, allocations: 110 kB / 1.35 GB, free: 7.145 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.4031, allocations: 25.7 kB / 1.35 GB, free: 7.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.4031, allocations: 84.14 kB / 1.35 GB, free: 7.027 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.4032, allocations: 7.891 kB / 1.35 GB, free: 7.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.4032, allocations: 13.72 kB / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4033, allocations: 310.8 kB / 1.351 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.4034, allocations: 8.234 kB / 1.351 GB, free: 6.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.4034, allocations: 8 kB / 1.351 GB, free: 6.672 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.53e-05/0.4035, allocations: 28.91 kB / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4035, allocations: 0 / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.4036, allocations: 49.62 kB / 1.351 GB, free: 6.586 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.4036, allocations: 7.938 kB / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4036, allocations: 0 / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4036, allocations: 0 / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-05/0.4037, allocations: 7.984 kB / 1.351 GB, free: 6.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.4037, allocations: 0 / 1.351 GB, free: 6.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.4037, allocations: 8.031 kB / 1.351 GB, free: 6.562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.4037, allocations: 0 / 1.351 GB, free: 6.562 MB / 1.045 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 7.211e-05/0.4038, allocations: 105.8 kB / 1.351 GB, free: 6.449 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.4038, allocations: 3.938 kB / 1.351 GB, free: 6.445 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.4038, allocations: 15.11 kB / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.4038, allocations: 0 / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4038, allocations: 0 / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.4039, allocations: 0 / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.404, allocations: 153.7 kB / 1.351 GB, free: 6.227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.404, allocations: 4 kB / 1.351 GB, free: 6.223 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.404, allocations: 4 kB / 1.351 GB, free: 6.219 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.404, allocations: 3.938 kB / 1.351 GB, free: 6.215 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.404, allocations: 0 / 1.351 GB, free: 6.215 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.404, allocations: 3.938 kB / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.404, allocations: 3.984 kB / 1.351 GB, free: 6.207 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.4042, allocations: 77.02 kB / 1.351 GB, free: 6.113 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.4042, allocations: 85.05 kB / 1.351 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.4042, allocations: 3.938 kB / 1.351 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.564e-05/0.4042, allocations: 0 / 1.351 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.4043, allocations: 3.984 kB / 1.351 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.4043, allocations: 4 kB / 1.351 GB, free: 6 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.22e-05/0.4043, allocations: 83.28 kB / 1.351 GB, free: 5.918 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4043, allocations: 0 / 1.351 GB, free: 5.918 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000171/0.4045, allocations: 3.938 kB / 1.351 GB, free: 5.914 MB / 1.045 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.0004605/0.405, allocations: 0.6086 MB / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.4051, allocations: 19.92 kB / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4051, allocations: 4 kB / 1.352 GB, free: 5.25 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.64e-05/0.4051, allocations: 8.094 kB / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.4052, allocations: 2.031 kB / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.4056, allocations: 144.2 kB / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.4059, allocations: 0.6729 MB / 1.353 GB, free: 4.363 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.4059, allocations: 0 / 1.353 GB, free: 4.363 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.406, allocations: 7.438 kB / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of SimCode: time 2.6e-07/0.406, allocations: 0 / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.4311, allocations: 1.137 MB / 1.354 GB, free: 3.316 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.62, allocations: 10.06 kB / 1.354 GB, free: 3.312 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.564742289949208]