Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001872/0.001872, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002298/0.002298, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.911/2.911, allocations: 476.8 MB / 0.7707 GB, free: 4.227 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002058/0.002058, allocations: 62.83 kB / 1.117 GB, free: 40.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3919, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002348/0.3943, allocations: 0.6232 MB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3957, allocations: 0.8472 MB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.3957, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.3957, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.046e-05/0.3958, allocations: 11.92 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.3961, allocations: 7.984 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.3962, allocations: 15.94 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.808e-05/0.3962, allocations: 7.938 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.3964, allocations: 23.92 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.3965, allocations: 4 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3965, allocations: 3.984 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.579e-05/0.3965, allocations: 7.984 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.3966, allocations: 7.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.3966, allocations: 4 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.3967, allocations: 16.62 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.3967, allocations: 7.984 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3967, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.3967, allocations: 4 kB / 1.285 GB, free: 10.08 MB / 0.9825 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.0004765/0.3972, allocations: 254.3 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3973, allocations: 8.031 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.485e-05/0.3973, allocations: 34.75 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.3975, allocations: 8.922 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3976, allocations: 114.4 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3976, allocations: 384 / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.3976, allocations: 384 / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3977, allocations: 42.25 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.3977, allocations: 7.938 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3977, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3978, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.709e-05/0.3978, allocations: 11.98 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.398, allocations: 124.8 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.292e-05/0.3981, allocations: 22.52 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.3981, allocations: 20.91 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.3981, allocations: 0 / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3982, allocations: 34.5 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3982, allocations: 0 / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002152/0.3984, allocations: 53.62 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.3984, allocations: 59.39 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.3985, allocations: 106 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3986, allocations: 25.7 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.3986, allocations: 80.14 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.3986, allocations: 15.86 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.3987, allocations: 17.7 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3988, allocations: 310.8 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.052e-05/0.3989, allocations: 4 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.277e-05/0.3989, allocations: 11.98 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.399, allocations: 24.91 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.399, allocations: 0 / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000113/0.3991, allocations: 49.64 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3991, allocations: 7.938 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3991, allocations: 0 / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3991, allocations: 4 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.559e-05/0.3992, allocations: 0 / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3992, allocations: 15.94 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.128e-05/0.3992, allocations: 4 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3993, allocations: 0 / 1.286 GB, free: 8.441 MB / 0.9825 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.04e-05/0.3993, allocations: 105.8 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.3994, allocations: 7.938 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.659e-05/0.3994, allocations: 3.156 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3994, allocations: 0 / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3994, allocations: 0 / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3994, allocations: 0 / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.3995, allocations: 128.8 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.3995, allocations: 3.984 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.3996, allocations: 4 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3996, allocations: 3.938 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.3996, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3996, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3996, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.3997, allocations: 81.05 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.3997, allocations: 7.953 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3997, allocations: 7.875 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.988e-05/0.3998, allocations: 4.25 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.3998, allocations: 0 / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3998, allocations: 4 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.3999, allocations: 83.27 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3999, allocations: 0 / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001865/0.4, allocations: 4 kB / 1.287 GB, free: 7.934 MB / 0.9825 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.0005327/0.4006, allocations: 0.6124 MB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.4007, allocations: 15.92 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4007, allocations: 0 / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.382e-05/0.4007, allocations: 20.03 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.4009, allocations: 3.891 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.4014, allocations: 128.6 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.4017, allocations: 0.6768 MB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.4017, allocations: 0 / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.4018, allocations: 7.438 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4018, allocations: 0 / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.4307, allocations: 1.217 MB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.61, allocations: 5.312 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.385020632995293]