Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00152/0.00152, allocations: 82.05 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001763/0.001763, allocations: 168.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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.502/1.502, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 3.049/3.049, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] 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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 3.938 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.486e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002473/0.002508, allocations: 0.6562 MB / 0.9821 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.004146, allocations: 0.8431 MB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.004188, allocations: 0 / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.004225, allocations: 3.984 kB / 0.983 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.986e-05/0.004305, allocations: 7.938 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.004528, allocations: 8 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.679e-05/0.004625, allocations: 19.92 kB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.004757, allocations: 15.98 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.699e-05/0.004844, allocations: 15.92 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.561e-05/0.004889, allocations: 7.984 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.004908, allocations: 0 / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.928e-05/0.004967, allocations: 11.94 kB / 0.9831 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.004985, allocations: 4 kB / 0.9831 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.005015, allocations: 7.938 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.005165, allocations: 31.88 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005168, allocations: 3.938 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005169, allocations: 0 / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.005178, allocations: 4 kB / 0.9831 GB, free: 10.25 MB / 0.9356 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.0005839/0.005762, allocations: 262.3 kB / 0.9834 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.005809, allocations: 8.031 kB / 0.9834 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.005937, allocations: 8.891 kB / 0.9834 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.006088, allocations: 113.7 kB / 0.9835 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.006105, allocations: 4.359 kB / 0.9835 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.006119, allocations: 4.375 kB / 0.9835 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.006372, allocations: 46.25 kB / 0.9835 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.006383, allocations: 192 / 0.9835 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.006394, allocations: 4.375 kB / 0.9835 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.006399, allocations: 384 / 0.9835 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.006655, allocations: 39.89 kB / 0.9836 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.007088, allocations: 192.5 kB / 0.9838 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.007284, allocations: 34.59 kB / 0.9838 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.007424, allocations: 20.91 kB / 0.9838 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.007451, allocations: 0 / 0.9838 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.007496, allocations: 42.56 kB / 0.9838 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.007497, allocations: 0 / 0.9838 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0005553/0.008053, allocations: 85.52 kB / 0.9839 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.008108, allocations: 55.41 kB / 0.984 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.008223, allocations: 105.8 kB / 0.9841 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.008256, allocations: 25.7 kB / 0.9841 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.008322, allocations: 84.09 kB / 0.9842 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.008344, allocations: 8.125 kB / 0.9842 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.008393, allocations: 13.72 kB / 0.9842 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.008592, allocations: 318.8 kB / 0.9845 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.008719, allocations: 11.98 kB / 0.9845 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.008835, allocations: 15.98 kB / 0.9845 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.009088, allocations: 36.83 kB / 0.9846 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.00909, allocations: 64 / 0.9846 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003199/0.00941, allocations: 77.55 kB / 0.9846 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.00943, allocations: 4 kB / 0.9847 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.00944, allocations: 3.938 kB / 0.9847 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.009459, allocations: 0 / 0.9847 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.009586, allocations: 11.98 kB / 0.9847 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.009592, allocations: 0 / 0.9847 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.009669, allocations: 11.92 kB / 0.9847 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.009676, allocations: 4.031 kB / 0.9847 GB, free: 8.457 MB / 0.9356 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 0.0001202/0.009796, allocations: 113.8 kB / 0.9848 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.009839, allocations: 0 / 0.9848 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.01019, allocations: 76.84 kB / 0.9849 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.01019, allocations: 0 / 0.9849 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.0102, allocations: 4 kB / 0.9849 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01021, allocations: 0 / 0.9849 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.01043, allocations: 101.3 kB / 0.985 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01043, allocations: 0 / 0.985 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-05/0.01052, allocations: 12.02 kB / 0.985 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01052, allocations: 0 / 0.985 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.01053, allocations: 4 kB / 0.985 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.01053, allocations: 3.938 kB / 0.985 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01053, allocations: 0 / 0.985 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.01091, allocations: 163.7 kB / 0.9851 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.01093, allocations: 7.938 kB / 0.9851 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.01094, allocations: 0 / 0.9851 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.0111, allocations: 15.95 kB / 0.9852 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.01117, allocations: 7.938 kB / 0.9852 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.01117, allocations: 3.938 kB / 0.9852 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.389e-05/0.01123, allocations: 83.28 kB / 0.9853 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.01123, allocations: 0 / 0.9853 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004369/0.01167, allocations: 4 kB / 0.9853 GB, free: 7.809 MB / 0.9356 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.0001901/0.01186, allocations: 95.23 kB / 0.9853 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003288/0.01219, allocations: 39.97 kB / 0.9854 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01219, allocations: 0 / 0.9854 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.01232, allocations: 19.97 kB / 0.9854 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.01282, allocations: 6.188 kB / 0.9854 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.01326, allocations: 116.7 kB / 0.9855 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.486e-05/0.01335, allocations: 55.36 kB / 0.9856 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.01339, allocations: 12.11 kB / 0.9856 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.01343, allocations: 8.5 kB / 0.9856 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.01343, allocations: 0 / 0.9856 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.003817/0.01724, allocations: 463.5 kB / 0.986 GB, free: 6.965 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.460144586861134]