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.001476/0.001476, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00164/0.00164, allocations: 209.5 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.734 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.373/3.373, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [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.002228/0.002228, allocations: 67.41 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.435, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002064/0.4371, allocations: 0.623 MB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.4383, allocations: 0.8397 MB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.4383, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.4384, allocations: 3.938 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.4384, allocations: 3.984 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.4386, allocations: 11.94 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.184e-05/0.4387, allocations: 23.92 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.554e-05/0.4388, allocations: 0 / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.439, allocations: 15.92 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.439, allocations: 11.98 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.439, allocations: 0 / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.885e-05/0.4391, allocations: 4 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.4391, allocations: 0 / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.4391, allocations: 15.88 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.4392, allocations: 19.89 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4393, allocations: 4 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4393, allocations: 0 / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.4393, allocations: 0 / 1.365 GB, free: 12.01 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.0005194/0.4398, allocations: 254.3 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.4398, allocations: 8.031 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.44, allocations: 16.88 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4401, allocations: 106.5 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4402, allocations: 384 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.4402, allocations: 384 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.4403, allocations: 42.25 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4403, allocations: 192 / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4404, allocations: 3.938 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4404, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.4404, allocations: 19.92 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.4406, allocations: 101.3 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.813e-05/0.4407, allocations: 30.55 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.4407, allocations: 12.91 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.4407, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.4408, allocations: 34.56 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.4408, allocations: 4 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0002342/0.441, allocations: 53.56 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.4411, allocations: 55.41 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.4412, allocations: 105.8 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.4412, allocations: 25.7 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.4413, allocations: 84.14 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.4413, allocations: 3.953 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.4413, allocations: 17.7 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4415, allocations: 319 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.4416, allocations: 4 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/0.4416, allocations: 11.98 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.197e-05/0.4417, allocations: 16.84 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4417, allocations: 0 / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001295/0.4418, allocations: 49.62 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4418, allocations: 8 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4418, allocations: 4.094 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4418, allocations: 3.938 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.4419, allocations: 4 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4419, allocations: 3.938 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.4419, allocations: 3.984 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.4419, allocations: 3.984 kB / 1.367 GB, free: 10.45 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.14e-05/0.442, allocations: 110.5 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-06/0.442, allocations: 0 / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.4421, allocations: 7.156 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4421, allocations: 7.938 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4421, allocations: 4 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.4421, allocations: 0 / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.762e-05/0.4422, allocations: 109.2 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4422, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.4422, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4422, allocations: 4 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.4422, allocations: 3.984 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4422, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4422, allocations: 3.938 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.4424, allocations: 73.06 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.4424, allocations: 4 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.4424, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.805e-05/0.4424, allocations: 4 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.4425, allocations: 16.11 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.4425, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.259e-05/0.4425, allocations: 83.28 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4425, allocations: 0 / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001792/0.4427, allocations: 4 kB / 1.367 GB, free: 9.961 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.0001488/0.4429, allocations: 99.27 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.443, allocations: 16 kB / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.443, allocations: 0 / 1.367 GB, free: 9.836 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.274e-05/0.443, allocations: 11.92 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.4432, allocations: 0 / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.4435, allocations: 106.9 kB / 1.367 GB, free: 9.695 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.441e-05/0.4436, allocations: 59.34 kB / 1.367 GB, free: 9.617 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.4436, allocations: 8.125 kB / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.4437, allocations: 11.38 kB / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4437, allocations: 0 / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of Templates: time 0.002577/0.4462, allocations: 283.1 kB / 1.368 GB, free: 9.328 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 800] 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/jenkins/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: 9.617489941418171]