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.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.002519/0.002519, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002133/0.002133, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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 1.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.981/2.981, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.76e-05, allocations: 3.719 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001951/0.001978, allocations: 0.6123 MB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.003161, allocations: 0.8477 MB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.003196, allocations: 0 / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.003223, allocations: 10.41 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.005e-05/0.003293, allocations: 3.938 kB / 0.7879 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.003501, allocations: 11.97 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.537e-05/0.003587, allocations: 19.88 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.003633, allocations: 4 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.003829, allocations: 19.92 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.003888, allocations: 5.734 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.003907, allocations: 4 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.368e-05/0.00396, allocations: 15.92 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.003972, allocations: 0 / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.003991, allocations: 0.5938 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.004106, allocations: 19.97 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004109, allocations: 1.281 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.00411, allocations: 0 / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.004114, allocations: 3.938 kB / 0.788 GB, free: 11.18 MB / 0.7448 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.0005076/0.004621, allocations: 353.6 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.004663, allocations: 8.031 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.004834, allocations: 12.88 kB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.004966, allocations: 113.5 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.00498, allocations: 384 / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.004987, allocations: 5.125 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.005107, allocations: 42.25 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.005116, allocations: 2.781 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.005125, allocations: 384 / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.005129, allocations: 384 / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.357e-05/0.005183, allocations: 7.938 kB / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.005364, allocations: 116.6 kB / 0.7886 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.884e-05/0.005453, allocations: 35.16 kB / 0.7886 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.00549, allocations: 12.16 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.005513, allocations: 4.719 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.005549, allocations: 37.38 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.00555, allocations: 0.5312 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0002333/0.005783, allocations: 47.34 kB / 0.7887 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.005827, allocations: 51.41 kB / 0.7888 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.005965, allocations: 169.9 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.005983, allocations: 25.7 kB / 0.789 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.006063, allocations: 139.5 kB / 0.7891 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.006091, allocations: 4.734 kB / 0.7891 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.006127, allocations: 15.38 kB / 0.7891 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002682/0.006396, allocations: 0.4934 MB / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.433e-05/0.00643, allocations: 4 kB / 0.7896 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/0.006456, allocations: 7.984 kB / 0.7896 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.246e-05/0.006519, allocations: 17.06 kB / 0.7896 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.006521, allocations: 0 / 0.7896 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001091/0.00663, allocations: 43.44 kB / 0.7897 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.006644, allocations: 4 kB / 0.7897 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.006648, allocations: 4 kB / 0.7897 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.006661, allocations: 0 / 0.7897 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.865e-05/0.00672, allocations: 0.875 kB / 0.7897 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.006727, allocations: 7.875 kB / 0.7897 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.784e-05/0.006765, allocations: 16.73 kB / 0.7897 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.006771, allocations: 0 / 0.7897 GB, free: 9.211 MB / 0.7448 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 0.0001075/0.006878, allocations: 153.9 kB / 0.7899 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.006894, allocations: 7.953 kB / 0.7899 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.006914, allocations: 3.156 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.006915, allocations: 0.8438 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.006918, allocations: 0 / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.006925, allocations: 3.938 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.007036, allocations: 121.8 kB / 0.79 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.007037, allocations: 0 / 0.79 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.007067, allocations: 4 kB / 0.79 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.007069, allocations: 1.312 kB / 0.79 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.007075, allocations: 0 / 0.79 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007076, allocations: 0 / 0.79 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/0.007088, allocations: 5.688 kB / 0.79 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.00723, allocations: 80.38 kB / 0.7901 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-06/0.007239, allocations: 7.922 kB / 0.7901 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.007251, allocations: 0 / 0.7901 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.684e-05/0.007278, allocations: 6.656 kB / 0.7901 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.007308, allocations: 256 / 0.7901 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.007311, allocations: 0 / 0.7901 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.263e-05/0.007394, allocations: 135.2 kB / 0.7902 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007394, allocations: 0 / 0.7902 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001824/0.007576, allocations: 7.938 kB / 0.7902 GB, free: 8.621 MB / 0.7448 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.0001264/0.007703, allocations: 91.75 kB / 0.7903 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.007832, allocations: 30.14 kB / 0.7903 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.007834, allocations: 0 / 0.7903 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.007877, allocations: 11.69 kB / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.008013, allocations: 0 / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.008307, allocations: 126.9 kB / 0.7905 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.969e-05/0.008367, allocations: 56.08 kB / 0.7905 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.0084, allocations: 6.984 kB / 0.7905 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.008432, allocations: 16.44 kB / 0.7905 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.008432, allocations: 0 / 0.7905 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of Templates: time 0.002695/0.01113, allocations: 299.5 kB / 0.7908 GB, free: 7.941 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/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: 8.066347314044833]