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.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.0007829/0.0007829, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008085/0.0008085, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8785/0.8785, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.819/1.819, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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 3.547e-06/3.547e-06, allocations: 4 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/3.069e-05, allocations: 5.094 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.00124/0.001271, allocations: 0.66 MB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007861/0.002057, allocations: 0.8354 MB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.002089, allocations: 7.938 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.002115, allocations: 4 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.497e-05/0.002169, allocations: 3.984 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.002355, allocations: 19.86 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.482e-05/0.002419, allocations: 23.92 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.002505, allocations: 4 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.002572, allocations: 11.98 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.147e-05/0.002604, allocations: 7.984 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.002617, allocations: 4 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.462e-05/0.002662, allocations: 4 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.002677, allocations: 11.94 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.002695, allocations: 7.984 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.866e-05/0.002794, allocations: 31.89 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.002796, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002797, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.002801, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 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.0003392/0.00314, allocations: 260.8 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.003177, allocations: 12.75 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.003242, allocations: 0.9375 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.473e-05/0.003317, allocations: 113.7 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.003325, allocations: 4.375 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.003333, allocations: 384 / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.003458, allocations: 50.23 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.003465, allocations: 192 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.003474, allocations: 384 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.003479, allocations: 4.375 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.941e-05/0.003568, allocations: 39.83 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.003822, allocations: 188.6 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.705e-05/0.003909, allocations: 46.53 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.003953, allocations: 20.91 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.003971, allocations: 3.984 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.00399, allocations: 34.56 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.003991, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.00024/0.004231, allocations: 85.62 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.004272, allocations: 59.38 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.004351, allocations: 105.8 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.004365, allocations: 25.7 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.004419, allocations: 80.14 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.004444, allocations: 7.953 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.004478, allocations: 13.72 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.004589, allocations: 310.8 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-05/0.004642, allocations: 27.97 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.004679, allocations: 19.92 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.916e-05/0.004768, allocations: 36.83 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.004771, allocations: 0 / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000122/0.004893, allocations: 69.59 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.00491, allocations: 8 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.004917, allocations: 3.938 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.004933, allocations: 4.094 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.005008, allocations: 7.984 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.005015, allocations: 4 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/0.005039, allocations: 3.984 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.005045, allocations: 4 kB / 1.004 GB, free: 9.488 MB / 0.9636 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 6.951e-05/0.005115, allocations: 105.8 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.005128, allocations: 4 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.00529, allocations: 76.91 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.005294, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.005299, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.005303, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.005405, allocations: 109.3 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.005409, allocations: 4 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.005438, allocations: 11.92 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.005441, allocations: 3.938 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.005449, allocations: 0 / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.005451, allocations: 3.938 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005453, allocations: 0 / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.005601, allocations: 163.5 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.005608, allocations: 0 / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.005622, allocations: 0 / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.205e-05/0.005664, allocations: 15.92 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.005707, allocations: 0 / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.005711, allocations: 4 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.183e-05/0.005753, allocations: 75.28 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005753, allocations: 4 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001486/0.005902, allocations: 4.031 kB / 1.005 GB, free: 8.848 MB / 0.9636 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.0001126/0.006015, allocations: 99.23 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.006164, allocations: 39.91 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006166, allocations: 0 / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.398e-05/0.00621, allocations: 15.98 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.006458, allocations: 4.109 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.006814, allocations: 147.2 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.476e-05/0.006869, allocations: 63.36 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.006903, allocations: 12.44 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.006903, allocations: 0 / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of Templates: time 0.001525/0.008428, allocations: 0.5694 MB / 1.006 GB, free: 7.848 MB / 0.9636 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 800] 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: 6.469409849494696]