Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001205/0.001205, allocations: 76.55 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.001336/0.001336, allocations: 181.9 kB / 23.22 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.8913/0.8913, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.772/1.772, allocations: 377.9 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.881e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001203/0.001232, allocations: 0.6195 MB / 0.9828 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007738/0.002006, allocations: 0.8432 MB / 0.9837 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.002034, allocations: 0 / 0.9837 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.002063, allocations: 0 / 0.9837 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.659e-05/0.00211, allocations: 7.875 kB / 0.9837 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.002304, allocations: 11.98 kB / 0.9837 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.418e-05/0.002369, allocations: 15.94 kB / 0.9837 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.002409, allocations: 4 kB / 0.9837 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.002548, allocations: 23.91 kB / 0.9837 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.796e-05/0.002596, allocations: 7.984 kB / 0.9837 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.002609, allocations: 0 / 0.9837 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.919e-05/0.002648, allocations: 4 kB / 0.9837 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.002659, allocations: 4 kB / 0.9837 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/0.002674, allocations: 3.938 kB / 0.9837 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.808e-05/0.002772, allocations: 31.83 kB / 0.9838 GB, free: 484 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.002775, allocations: 0 / 0.9838 GB, free: 484 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.162e-06/0.002776, allocations: 4 kB / 0.9838 GB, free: 480 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.00278, allocations: 0 / 0.9838 GB, free: 480 kB / 0.9323 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.0003115/0.003092, allocations: 254.4 kB / 0.984 GB, free: 192 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.003128, allocations: 8.031 kB / 0.984 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.003243, allocations: 16.88 kB / 0.9841 GB, free: 168 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.416e-05/0.003317, allocations: 101.8 kB / 0.9841 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.003327, allocations: 4.375 kB / 0.9842 GB, free: 36 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.003335, allocations: 384 / 0.9842 GB, free: 36 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.003439, allocations: 38.25 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.003446, allocations: 4.188 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.003455, allocations: 384 / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.003459, allocations: 384 / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.792e-05/0.003497, allocations: 15.92 kB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.003612, allocations: 113.2 kB / 0.9843 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.722e-05/0.003659, allocations: 22.61 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.003685, allocations: 12.91 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.003699, allocations: 0 / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.003717, allocations: 34.56 kB / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.003718, allocations: 7.938 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001497/0.003867, allocations: 53.62 kB / 0.9844 GB, free: 15.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.003897, allocations: 55.41 kB / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.181e-05/0.003959, allocations: 105.8 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.003968, allocations: 25.7 kB / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.003997, allocations: 84.14 kB / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.004019, allocations: 7.891 kB / 0.9847 GB, free: 15.37 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.004042, allocations: 9.719 kB / 0.9847 GB, free: 15.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.033e-05/0.004122, allocations: 326.8 kB / 0.985 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.004146, allocations: 8.125 kB / 0.985 GB, free: 15.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.004162, allocations: 7.984 kB / 0.985 GB, free: 15.01 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/0.004207, allocations: 16.86 kB / 0.9851 GB, free: 14.99 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.004209, allocations: 0 / 0.9851 GB, free: 14.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.373e-05/0.004272, allocations: 49.61 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.004286, allocations: 10.5 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.00429, allocations: 0 / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.004302, allocations: 96 / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.004355, allocations: 8 kB / 0.9851 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.004359, allocations: 0 / 0.9851 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.004374, allocations: 7.922 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.004381, allocations: 4 kB / 0.9851 GB, free: 14.91 MB / 0.948 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 5.344e-05/0.004435, allocations: 109.8 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-06/0.004439, allocations: 0 / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.589e-05/0.004454, allocations: 3.156 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.004456, allocations: 0 / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.00446, allocations: 4 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.004463, allocations: 3.938 kB / 0.9853 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.533e-05/0.004518, allocations: 109.3 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004519, allocations: 0 / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.357e-05/0.004533, allocations: 0 / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004534, allocations: 0 / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.00454, allocations: 4 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.00454, allocations: 0 / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.004541, allocations: 0 / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.745e-05/0.004619, allocations: 81.19 kB / 0.9854 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-06/0.004625, allocations: 4 kB / 0.9854 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.004635, allocations: 8.031 kB / 0.9854 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-06/0.004645, allocations: 0 / 0.9854 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.004672, allocations: 7.984 kB / 0.9855 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.004675, allocations: 0 / 0.9855 GB, free: 14.52 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.999e-05/0.004705, allocations: 83.28 kB / 0.9855 GB, free: 14.44 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004705, allocations: 0 / 0.9855 GB, free: 14.44 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001183/0.004823, allocations: 7.875 kB / 0.9855 GB, free: 14.43 MB / 0.948 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.233e-05/0.004906, allocations: 95.78 kB / 0.9856 GB, free: 14.33 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.77e-05/0.004993, allocations: 23.92 kB / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.004995, allocations: 0 / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-05/0.005015, allocations: 15.92 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.005124, allocations: 0 / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.005348, allocations: 130.5 kB / 0.9858 GB, free: 14.13 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.514e-05/0.005383, allocations: 55.36 kB / 0.9858 GB, free: 14.06 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.005409, allocations: 20.47 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/0.005409, allocations: 0 / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of Templates: time 0.001282/0.006691, allocations: 472 kB / 0.9863 GB, free: 13.58 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.628359476104379]