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.0007876/0.0007876, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007693/0.0007693, 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.8724/0.8724, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.773/1.773, allocations: 389.1 MB / 0.6338 GB, free: 12.68 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.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: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.834e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001224/0.001252, allocations: 0.6118 MB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000734/0.001986, allocations: 0.8392 MB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.002017, allocations: 7.938 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.002044, allocations: 3.938 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.002086, allocations: 0 / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.00226, allocations: 4 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.09e-05/0.00232, allocations: 23.86 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.002364, allocations: 11.98 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.002498, allocations: 19.92 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.002542, allocations: 7.984 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.002555, allocations: 0 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.854e-05/0.002594, allocations: 4 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.002608, allocations: 7.938 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.45e-05/0.002622, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.002728, allocations: 27.89 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.002731, allocations: 0 / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.302e-06/0.002732, allocations: 0 / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.002736, allocations: 4 kB / 1.002 GB, free: 11.37 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003106/0.003047, allocations: 254.4 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.003082, allocations: 8.75 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.003193, allocations: 12.92 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.596e-05/0.003269, allocations: 101.8 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.003279, allocations: 4.375 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.003287, allocations: 384 / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.451e-05/0.003381, allocations: 38.25 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.00339, allocations: 4.125 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.003399, allocations: 4.375 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.003403, allocations: 384 / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.00344, allocations: 15.92 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.003549, allocations: 105.3 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.558e-05/0.003595, allocations: 22.61 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.003621, allocations: 12.92 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.00364, allocations: 3.984 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.003658, allocations: 34.5 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.003659, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001523/0.003811, allocations: 65.56 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.003839, allocations: 51.41 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.665e-05/0.003896, allocations: 109.8 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.003906, allocations: 25.7 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.553e-05/0.003931, allocations: 80.14 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.003953, allocations: 7.938 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.003976, allocations: 9.719 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.004048, allocations: 318.8 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.004073, allocations: 8 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.004089, allocations: 16.05 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.137e-05/0.004131, allocations: 20.8 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.004133, allocations: 0 / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.346e-05/0.004196, allocations: 49.92 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.004209, allocations: 8 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.004213, allocations: 0 / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.004225, allocations: 0 / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/0.004284, allocations: 8.094 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.004288, allocations: 4 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.004308, allocations: 3.938 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.004315, allocations: 3.984 kB / 1.004 GB, free: 9.809 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 (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 4.92e-05/0.004364, allocations: 109.8 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-06/0.004369, allocations: 3.953 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.619e-05/0.004385, allocations: 3.156 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.004387, allocations: 0 / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.004391, allocations: 0 / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.004394, allocations: 7.938 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.157e-05/0.004445, allocations: 101.3 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.004447, allocations: 8 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.004464, allocations: 3.938 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.004466, allocations: 0 / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.004471, allocations: 4 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.004473, allocations: 0 / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004473, allocations: 0 / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.041e-05/0.004554, allocations: 76.98 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.00456, allocations: 4 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-06/0.004569, allocations: 0 / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.00458, allocations: 4.031 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.004605, allocations: 3.984 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.004607, allocations: 4 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.47e-05/0.004632, allocations: 83.28 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.004632, allocations: 0 / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001251/0.004757, allocations: 3.938 kB / 1.004 GB, free: 9.332 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 (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 8.128e-05/0.004839, allocations: 95.25 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.344e-05/0.004922, allocations: 15.92 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.004923, allocations: 4.062 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-05/0.004944, allocations: 15.98 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.00505, allocations: 1.875 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.005267, allocations: 135.3 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.36e-05/0.0053, allocations: 55.36 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.005324, allocations: 12.48 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of SimCode: time 4.8e-07/0.005325, allocations: 3.938 kB / 1.005 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of Templates: time 0.001279/0.006604, allocations: 482.2 kB / 1.005 GB, free: 8.473 MB / 0.9636 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: 6.383949656039476]