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.001904/0.001904, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002307/0.002307, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.6/1.6, allocations: 177.1 MB / 203.9 MB, free: 5.57 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.745/2.745, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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.544e-06/2.544e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.097e-05, allocations: 6.094 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001799/0.00183, allocations: 0.6238 MB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.003046, allocations: 0.8471 MB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.003075, allocations: 0.9062 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.003105, allocations: 3.938 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.00316, allocations: 4.781 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.003337, allocations: 8 kB / 0.7879 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.415e-05/0.003411, allocations: 20.48 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.003451, allocations: 0.9375 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.003612, allocations: 27.84 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.003661, allocations: 4.781 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.003674, allocations: 0 / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.652e-05/0.003721, allocations: 8.75 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.003735, allocations: 7.984 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.00376, allocations: 4.5 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003877, allocations: 19.91 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.00388, allocations: 0.9688 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.00388, allocations: 0 / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.003884, allocations: 0.875 kB / 0.788 GB, free: 11.19 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.0004345/0.004319, allocations: 250.4 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.004355, allocations: 9.438 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.004517, allocations: 16.88 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.004639, allocations: 113.7 kB / 0.7883 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.004652, allocations: 3.406 kB / 0.7883 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.004658, allocations: 384 / 0.7883 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.00479, allocations: 42.19 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.004797, allocations: 192 / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.004805, allocations: 384 / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.004812, allocations: 4.375 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.004883, allocations: 15.92 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.005033, allocations: 102.5 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.262e-05/0.005105, allocations: 22.56 kB / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.00515, allocations: 9.516 kB / 0.7885 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.005165, allocations: 0 / 0.7885 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.005205, allocations: 43.62 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.005205, allocations: 0 / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0002325/0.005438, allocations: 54.2 kB / 0.7886 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.005482, allocations: 51.97 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.005712, allocations: 106.5 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.005733, allocations: 25.7 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.005786, allocations: 85.52 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.005808, allocations: 3.953 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.005839, allocations: 9.719 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.006011, allocations: 318.8 kB / 0.7892 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.581e-05/0.006057, allocations: 9.734 kB / 0.7892 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.006086, allocations: 7.938 kB / 0.7892 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.421e-05/0.00616, allocations: 26.56 kB / 0.7892 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006162, allocations: 0 / 0.7892 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001193/0.006281, allocations: 49.69 kB / 0.7893 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.006296, allocations: 8.484 kB / 0.7893 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.0063, allocations: 1.75 kB / 0.7893 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.006316, allocations: 0 / 0.7893 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/0.00638, allocations: 8 kB / 0.7893 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.006384, allocations: 0 / 0.7893 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.006417, allocations: 6.219 kB / 0.7893 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.006428, allocations: 4 kB / 0.7893 GB, free: 9.648 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 8.658e-05/0.006515, allocations: 109.8 kB / 0.7894 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.006527, allocations: 3.953 kB / 0.7894 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.006544, allocations: 11.09 kB / 0.7894 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.006546, allocations: 0 / 0.7894 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.006549, allocations: 0.5312 kB / 0.7894 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.006553, allocations: 4.656 kB / 0.7894 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.006663, allocations: 105.3 kB / 0.7895 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006664, allocations: 0.5 kB / 0.7895 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.006703, allocations: 5.594 kB / 0.7895 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.006704, allocations: 0 / 0.7895 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.006709, allocations: 0 / 0.7895 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.00671, allocations: 0 / 0.7895 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006711, allocations: 0 / 0.7895 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.006863, allocations: 78.42 kB / 0.7896 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.006868, allocations: 0 / 0.7896 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.00688, allocations: 0.625 kB / 0.7896 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.928e-05/0.006919, allocations: 4 kB / 0.7896 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.006949, allocations: 1.156 kB / 0.7896 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.006951, allocations: 0 / 0.7896 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.433e-05/0.007016, allocations: 91.2 kB / 0.7897 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.007016, allocations: 0.6875 kB / 0.7897 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001886/0.007204, allocations: 7.938 kB / 0.7897 GB, free: 9.18 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.0001377/0.007342, allocations: 96.75 kB / 0.7898 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.007467, allocations: 13.89 kB / 0.7898 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.007469, allocations: 0 / 0.7898 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.667e-05/0.007525, allocations: 19.92 kB / 0.7898 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.007674, allocations: 1.547 kB / 0.7898 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.007986, allocations: 113.4 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.841e-05/0.008044, allocations: 61.67 kB / 0.79 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.713e-05/0.008071, allocations: 3.984 kB / 0.79 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.008103, allocations: 8.5 kB / 0.79 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.008103, allocations: 0 / 0.79 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of Templates: time 0.002685/0.01079, allocations: 308.2 kB / 0.7903 GB, free: 8.523 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] 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: 7.945834864047356]