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.0009537/0.0009537, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.000978/0.000978, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9349/0.9349, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 1.705/1.705, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.806e-06/2.806e-06, allocations: 0 / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.322e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001495/0.001528, allocations: 0.6781 MB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000812/0.00234, allocations: 0.864 MB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.002372, allocations: 0 / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.0024, allocations: 4.969 kB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.678e-05/0.002477, allocations: 11.91 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.002646, allocations: 12.75 kB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.002758, allocations: 23.92 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.862e-05/0.002837, allocations: 4.562 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.002909, allocations: 15.98 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.451e-05/0.002944, allocations: 8.766 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.002957, allocations: 0 / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.366e-05/0.003, allocations: 13.42 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.003016, allocations: 11.94 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.168e-05/0.003027, allocations: 0 / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.51e-05/0.003112, allocations: 23.97 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003114, allocations: 3.125 kB / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003115, allocations: 0 / 0.7893 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.003118, allocations: 0 / 0.7893 GB, free: 10.46 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.0002767/0.003394, allocations: 356.6 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.003435, allocations: 8.031 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.476e-05/0.00351, allocations: 12.89 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.132e-05/0.003571, allocations: 108.6 kB / 0.7897 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.003578, allocations: 384 / 0.7897 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-06/0.003585, allocations: 5.453 kB / 0.7897 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.47e-05/0.003669, allocations: 54.89 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-06/0.003674, allocations: 192 / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.00368, allocations: 0.9688 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.003684, allocations: 384 / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.003703, allocations: 13.09 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.003903, allocations: 228.4 kB / 0.79 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.898e-05/0.003942, allocations: 35.66 kB / 0.7901 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.226e-05/0.003954, allocations: 11.67 kB / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.003971, allocations: 4.719 kB / 0.7901 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.003988, allocations: 34.77 kB / 0.7901 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.003989, allocations: 0 / 0.7901 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 9.5e-05/0.004084, allocations: 41.59 kB / 0.7901 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.004108, allocations: 57.05 kB / 0.7902 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.818e-05/0.004166, allocations: 157.9 kB / 0.7903 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.004176, allocations: 29.7 kB / 0.7904 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.00421, allocations: 126.9 kB / 0.7905 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.004225, allocations: 5.484 kB / 0.7905 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.004254, allocations: 31.28 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.004352, allocations: 492.1 kB / 0.791 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.004362, allocations: 0 / 0.791 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.00437, allocations: 5.656 kB / 0.791 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.078e-05/0.004391, allocations: 15.69 kB / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.004392, allocations: 0 / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.001e-05/0.004432, allocations: 40.06 kB / 0.7911 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.004442, allocations: 4 kB / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.004446, allocations: 0 / 0.7911 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.004456, allocations: 3.938 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.972e-05/0.004506, allocations: 15.92 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.004508, allocations: 0 / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.004523, allocations: 8.453 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-06/0.004526, allocations: 0.7188 kB / 0.7911 GB, free: 8.402 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 5.064e-05/0.004577, allocations: 157.1 kB / 0.7912 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.004589, allocations: 5.594 kB / 0.7912 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.007e-05/0.004659, allocations: 45 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.004661, allocations: 3.938 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.004662, allocations: 0 / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.004664, allocations: 0.625 kB / 0.7913 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.785e-05/0.004742, allocations: 101.2 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.004743, allocations: 0.8438 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.004765, allocations: 7.984 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.004766, allocations: 8.469 kB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-06/0.00477, allocations: 5.125 kB / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-07/0.00477, allocations: 0 / 0.7914 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.004773, allocations: 3.938 kB / 0.7914 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.713e-05/0.00484, allocations: 188.7 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.004846, allocations: 4 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-06/0.004852, allocations: 0.5625 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.016e-05/0.004883, allocations: 4.844 kB / 0.7916 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.004905, allocations: 3.984 kB / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.004909, allocations: 5.938 kB / 0.7916 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.915e-05/0.004938, allocations: 127.2 kB / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.004938, allocations: 0 / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001743/0.005112, allocations: 4 kB / 0.7917 GB, free: 7.684 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 7.193e-05/0.005184, allocations: 91.88 kB / 0.7918 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.289e-05/0.005247, allocations: 26.08 kB / 0.7919 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.005248, allocations: 0 / 0.7919 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.385e-05/0.005262, allocations: 11.69 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.00542, allocations: 3.938 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.005721, allocations: 120.1 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.851e-05/0.00575, allocations: 63.28 kB / 0.792 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.285e-05/0.005763, allocations: 0 / 0.792 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.005798, allocations: 70.73 kB / 0.7921 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/0.005798, allocations: 0.5625 kB / 0.7921 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of Templates: time 0.001638/0.007437, allocations: 0.5076 MB / 0.7926 GB, free: 6.754 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.714703262783587]