Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001378/0.001378, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.00154/0.00154, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.529/1.529, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.975/2.975, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 71.88 kB / 1.136 GB, free: 12.38 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.131, allocations: 173.6 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001887/1.133, allocations: 0.6778 MB / 1.306 GB, free: 32.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006985/1.134, allocations: 0.8124 MB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/1.134, allocations: 3 kB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/1.134, allocations: 0 / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.436e-05/1.134, allocations: 7.312 kB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/1.134, allocations: 10.89 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.378e-05/1.134, allocations: 24.22 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/1.134, allocations: 6.625 kB / 1.307 GB, free: 32.35 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/1.134, allocations: 11.16 kB / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.539e-05/1.134, allocations: 14.16 kB / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/1.134, allocations: 0 / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-06/1.134, allocations: 2.125 kB / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/1.134, allocations: 2.531 kB / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/1.134, allocations: 11.22 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.457e-05/1.134, allocations: 30.27 kB / 1.307 GB, free: 32.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/1.134, allocations: 0 / 1.307 GB, free: 32.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/1.134, allocations: 3.938 kB / 1.307 GB, free: 32.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.139e-05/1.134, allocations: 0 / 1.307 GB, free: 32.31 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003858/1.135, allocations: 340.3 kB / 1.307 GB, free: 31.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/1.135, allocations: 8.719 kB / 1.307 GB, free: 31.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/1.135, allocations: 7.703 kB / 1.307 GB, free: 31.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/1.135, allocations: 167.7 kB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/1.135, allocations: 4.375 kB / 1.308 GB, free: 31.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/1.135, allocations: 3.188 kB / 1.308 GB, free: 31.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/1.135, allocations: 48.52 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.135, allocations: 192 / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/1.135, allocations: 3.938 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/1.135, allocations: 4 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/1.135, allocations: 33.91 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/1.136, allocations: 255 kB / 1.308 GB, free: 31.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/1.136, allocations: 40.94 kB / 1.308 GB, free: 31.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/1.136, allocations: 19.94 kB / 1.308 GB, free: 31.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/1.136, allocations: 0 / 1.308 GB, free: 31.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/1.136, allocations: 33.09 kB / 1.308 GB, free: 31.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/1.136, allocations: 0 / 1.308 GB, free: 31.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003131/1.136, allocations: 85.61 kB / 1.308 GB, free: 31.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/1.136, allocations: 59.47 kB / 1.308 GB, free: 31.22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.202e-05/1.136, allocations: 102.9 kB / 1.308 GB, free: 31.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/1.136, allocations: 25.7 kB / 1.308 GB, free: 31.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/1.136, allocations: 84.09 kB / 1.308 GB, free: 31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/1.136, allocations: 2.75 kB / 1.308 GB, free: 31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/1.136, allocations: 16.72 kB / 1.308 GB, free: 30.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.507e-05/1.136, allocations: 314.2 kB / 1.309 GB, free: 30.67 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/1.136, allocations: 19.75 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-05/1.136, allocations: 15.05 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/1.137, allocations: 35.72 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.137, allocations: 0 / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001564/1.137, allocations: 81.47 kB / 1.309 GB, free: 30.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/1.137, allocations: 10 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/1.137, allocations: 0 / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.137, allocations: 0 / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/1.137, allocations: 12.91 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/1.137, allocations: 0 / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.179e-05/1.137, allocations: 9.188 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/1.137, allocations: 0 / 1.309 GB, free: 30.59 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 (2): * Single equations (assignments): 2 * 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 4.249e-05/1.137, allocations: 112.7 kB / 1.309 GB, free: 30.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/1.137, allocations: 4 kB / 1.309 GB, free: 30.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/1.137, allocations: 74.16 kB / 1.309 GB, free: 30.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.137, allocations: 2.969 kB / 1.309 GB, free: 30.42 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.137, allocations: 0 / 1.309 GB, free: 30.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/1.137, allocations: 0 / 1.309 GB, free: 30.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/1.137, allocations: 159.2 kB / 1.309 GB, free: 30.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.137, allocations: 2.938 kB / 1.309 GB, free: 30.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.297e-05/1.137, allocations: 8.922 kB / 1.309 GB, free: 30.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/1.137, allocations: 4.031 kB / 1.309 GB, free: 30.22 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/1.137, allocations: 0 / 1.309 GB, free: 30.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.137, allocations: 0 / 1.309 GB, free: 30.22 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.137, allocations: 0 / 1.309 GB, free: 30.22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/1.138, allocations: 163.1 kB / 1.309 GB, free: 30.08 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/1.138, allocations: 84.53 kB / 1.309 GB, free: 29.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/1.138, allocations: 7.969 kB / 1.309 GB, free: 29.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/1.138, allocations: 14.23 kB / 1.309 GB, free: 29.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/1.138, allocations: 6.781 kB / 1.309 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/1.138, allocations: 0 / 1.309 GB, free: 29.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.982e-05/1.138, allocations: 77.97 kB / 1.31 GB, free: 29.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.138, allocations: 0 / 1.31 GB, free: 29.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002072/1.138, allocations: 9.75 kB / 1.31 GB, free: 29.89 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 (2): * Single equations (assignments): 2 * 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.0001179/1.138, allocations: 100.3 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002043/1.138, allocations: 38 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.138, allocations: 0 / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.068e-05/1.138, allocations: 14.8 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/1.139, allocations: 14.23 kB / 1.31 GB, free: 29.78 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/1.139, allocations: 134.7 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/1.139, allocations: 0.6777 MB / 1.31 GB, free: 28.97 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.029e-05/1.139, allocations: 0 / 1.31 GB, free: 28.97 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/1.139, allocations: 10.56 kB / 1.31 GB, free: 28.96 MB / 1.061 GB Notification: Performance of SimCode: time 4.6e-07/1.139, allocations: 0 / 1.31 GB, free: 28.96 MB / 1.061 GB Notification: Performance of Templates: time 0.002554/1.142, allocations: 436.2 kB / 1.311 GB, free: 28.9 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.792649989016354]