Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001862/0.001862, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002351/0.002351, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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.561/1.561, allocations: 177.1 MB / 203.9 MB, free: 5.582 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.852/2.852, 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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.308e-05, allocations: 5.547 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001944/0.001977, allocations: 0.6834 MB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.003271, allocations: 0.8441 MB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.003308, allocations: 0 / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.003335, allocations: 0.8438 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.003404, allocations: 11.88 kB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.003584, allocations: 8.547 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.31e-05/0.003668, allocations: 28.88 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.003748, allocations: 4 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.455e-05/0.003823, allocations: 11.98 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.563e-05/0.003858, allocations: 8.688 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.003877, allocations: 4 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.98e-05/0.003927, allocations: 12.83 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.003939, allocations: 0 / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.003974, allocations: 5 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.004083, allocations: 31.88 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004086, allocations: 0 / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004086, allocations: 0.8438 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.00409, allocations: 3.938 kB / 0.7881 GB, free: 11.12 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004732/0.004563, allocations: 259 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.004601, allocations: 12.75 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.004717, allocations: 12.89 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.004847, allocations: 111.2 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.00486, allocations: 384 / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.004868, allocations: 384 / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.005075, allocations: 53.3 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.005084, allocations: 192 / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.005092, allocations: 384 / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.005097, allocations: 384 / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.005282, allocations: 39.89 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.005673, allocations: 192.6 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.005823, allocations: 35.72 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.005945, allocations: 25.48 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.005968, allocations: 0 / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.006005, allocations: 31.72 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.006006, allocations: 0 / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0004121/0.006418, allocations: 95.34 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.006476, allocations: 51.41 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.006584, allocations: 105.8 kB / 0.789 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.006604, allocations: 27.42 kB / 0.7891 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.006672, allocations: 84.12 kB / 0.7891 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.006693, allocations: 3.953 kB / 0.7891 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.006734, allocations: 17.72 kB / 0.7892 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.006937, allocations: 312.4 kB / 0.7895 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/0.007033, allocations: 19.98 kB / 0.7895 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.222e-05/0.007115, allocations: 17.69 kB / 0.7895 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.007284, allocations: 36.83 kB / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007286, allocations: 2.25 kB / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002256/0.007511, allocations: 73.59 kB / 0.7896 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.007526, allocations: 4 kB / 0.7896 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.007533, allocations: 3.938 kB / 0.7896 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.007551, allocations: 0.5312 kB / 0.7896 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-05/0.007641, allocations: 12.7 kB / 0.7896 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.007646, allocations: 3.938 kB / 0.7896 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.007696, allocations: 4.5 kB / 0.7896 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.007701, allocations: 1.594 kB / 0.7896 GB, free: 9.352 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 (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.0001116/0.007813, allocations: 109.8 kB / 0.7897 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.00784, allocations: 4 kB / 0.7897 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.008095, allocations: 78.25 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008097, allocations: 0 / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.0081, allocations: 0.5938 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.008102, allocations: 4 kB / 0.7898 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.008258, allocations: 105.9 kB / 0.7899 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.00826, allocations: 0.6875 kB / 0.7899 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.419e-05/0.008324, allocations: 8 kB / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.008326, allocations: 1.125 kB / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.008333, allocations: 0 / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.00834, allocations: 11.92 kB / 0.7899 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008341, allocations: 0.7188 kB / 0.7899 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.008626, allocations: 157 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.996e-06/0.008635, allocations: 3.984 kB / 0.7901 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.008658, allocations: 5.938 kB / 0.7901 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.008743, allocations: 7.938 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.008784, allocations: 11.92 kB / 0.7901 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.008787, allocations: 0 / 0.7901 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.342e-05/0.008841, allocations: 79.28 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008841, allocations: 0.6875 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002286/0.009069, allocations: 4 kB / 0.7902 GB, free: 8.715 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 (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.0001258/0.009195, allocations: 93.66 kB / 0.7903 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.00942, allocations: 43.95 kB / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.009421, allocations: 1.875 kB / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.437e-05/0.009505, allocations: 11.98 kB / 0.7903 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.009803, allocations: 4 kB / 0.7903 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.01013, allocations: 123.5 kB / 0.7905 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.25e-05/0.01021, allocations: 67.88 kB / 0.7905 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.19e-05/0.01023, allocations: 1.812 kB / 0.7905 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.01026, allocations: 8.5 kB / 0.7905 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01026, allocations: 3.938 kB / 0.7905 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of Templates: time 0.002884/0.01315, allocations: 487 kB / 0.791 GB, free: 7.859 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.028175770072266]