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.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.001409/0.001409, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001395/0.001395, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.306/1.306, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.494/2.494, allocations: 476.7 MB / 0.7628 GB, free: 15.23 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.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: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 71.89 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7833/0.7853, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00157/0.7869, allocations: 0.6272 MB / 1.272 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006715/0.7876, allocations: 0.8022 MB / 1.273 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.7876, allocations: 4.844 kB / 1.273 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.7876, allocations: 7.938 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.466e-05/0.7877, allocations: 9.219 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.7878, allocations: 3.359 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.7878, allocations: 17.89 kB / 1.273 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.7879, allocations: 7.938 kB / 1.273 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.574e-05/0.7879, allocations: 6.141 kB / 1.273 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.876e-05/0.788, allocations: 9.266 kB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.788, allocations: 1.469 kB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.788, allocations: 0.8125 kB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.788, allocations: 13.45 kB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.788, allocations: 6.266 kB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.191e-05/0.7881, allocations: 16 kB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.7881, allocations: 1.266 kB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7881, allocations: 3.938 kB / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7881, allocations: 0 / 1.273 GB, free: 6.684 MB / 0.9981 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.0002974/0.7884, allocations: 329.3 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.7885, allocations: 9.75 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.38e-05/0.7885, allocations: 35.69 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.7885, allocations: 5.734 kB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.982e-05/0.7886, allocations: 168 kB / 1.273 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.7886, allocations: 384 / 1.273 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.7886, allocations: 1.312 kB / 1.273 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.7887, allocations: 35.22 kB / 1.273 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.7887, allocations: 3.938 kB / 1.273 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.7887, allocations: 0.7812 kB / 1.273 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.7887, allocations: 0 / 1.273 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.117e-05/0.7888, allocations: 15.86 kB / 1.273 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.7889, allocations: 156.6 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.8e-05/0.7889, allocations: 26 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.789, allocations: 15.45 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.789, allocations: 4.828 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.789, allocations: 35.22 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.789, allocations: 0.8438 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001834/0.7892, allocations: 63.12 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.7892, allocations: 52.16 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.104e-05/0.7893, allocations: 102.9 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.7893, allocations: 26.52 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.753e-05/0.7893, allocations: 81.77 kB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.7893, allocations: 8.672 kB / 1.274 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.7893, allocations: 11.91 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.7894, allocations: 320.9 kB / 1.274 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-05/0.7894, allocations: 10.59 kB / 1.274 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/0.7894, allocations: 5.641 kB / 1.274 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.446e-05/0.7895, allocations: 22.66 kB / 1.274 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.7895, allocations: 0 / 1.274 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.145e-05/0.7896, allocations: 51.39 kB / 1.274 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.7896, allocations: 13.53 kB / 1.274 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.7896, allocations: 0 / 1.274 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.7896, allocations: 4.641 kB / 1.274 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.7897, allocations: 4.188 kB / 1.274 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.7897, allocations: 0.7812 kB / 1.274 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.7897, allocations: 2.953 kB / 1.274 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.7897, allocations: 0.75 kB / 1.274 GB, free: 5.023 MB / 0.9981 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 3.942e-05/0.7898, allocations: 109.4 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-06/0.7898, allocations: 12.73 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.517e-05/0.7898, allocations: 3.906 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7898, allocations: 1.812 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.7898, allocations: 0 / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.7898, allocations: 0.7812 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.294e-05/0.7899, allocations: 153.1 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.7899, allocations: 0 / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.7899, allocations: 5.422 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7899, allocations: 3.938 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.7899, allocations: 0.8125 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7899, allocations: 0.7969 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7899, allocations: 4.75 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.79, allocations: 71.61 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.79, allocations: 78.38 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.79, allocations: 5.406 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.732e-05/0.7901, allocations: 3.453 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.7901, allocations: 5.688 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.7901, allocations: 4.938 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.125e-05/0.7901, allocations: 84.25 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7901, allocations: 0.7812 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001641/0.7903, allocations: 2.375 kB / 1.275 GB, free: 4.441 MB / 0.9981 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.0002645/0.7905, allocations: 0.6073 MB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.7906, allocations: 23 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7906, allocations: 0 / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.598e-05/0.7907, allocations: 7.391 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.7908, allocations: 6.672 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.7911, allocations: 148.1 kB / 1.276 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.967e-05/0.7912, allocations: 0.6783 MB / 1.276 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.148e-05/0.7912, allocations: 1.031 kB / 1.276 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.7912, allocations: 12.78 kB / 1.276 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.7912, allocations: 1 kB / 1.276 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.8139, allocations: 1.099 MB / 1.278 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/7.761, allocations: 9.875 kB / 1.278 GB, free: 2.609 MB / 0.9981 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv --start-time 0 --stop-time 130 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 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.csv","/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: 13.131397883997124]