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.0009257/0.0009257, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001145/0.001145, allocations: 166.1 kB / 24.87 MB, free: 9.258 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.9858/0.9858, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.8/1.8, allocations: 359 MB / 0.6063 GB, free: 10.9 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.274e-06/2.274e-06, allocations: 0 / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.469e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001501/0.001526, allocations: 0.683 MB / 0.789 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007542/0.00228, allocations: 0.8671 MB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.002311, allocations: 0 / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.002334, allocations: 0 / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.977e-05/0.002393, allocations: 12.45 kB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.002544, allocations: 13.36 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.611e-05/0.0026, allocations: 23.92 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/0.002673, allocations: 4 kB / 0.7899 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/0.002734, allocations: 11.98 kB / 0.79 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.965e-05/0.002763, allocations: 9.156 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.002775, allocations: 0 / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.052e-05/0.002815, allocations: 15.91 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.002829, allocations: 4.75 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.366e-05/0.002843, allocations: 8 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.839e-05/0.002931, allocations: 12.89 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002933, allocations: 4 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002933, allocations: 2.438 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.002937, allocations: 0 / 0.79 GB, free: 10.48 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.0002697/0.003206, allocations: 364.6 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.003241, allocations: 8.031 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.00332, allocations: 8.891 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.408e-05/0.003414, allocations: 108.6 kB / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.003427, allocations: 6.156 kB / 0.7905 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.003433, allocations: 384 / 0.7905 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.003534, allocations: 58.94 kB / 0.7905 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.00354, allocations: 192 / 0.7905 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.003545, allocations: 4.312 kB / 0.7905 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.00355, allocations: 0.9062 kB / 0.7905 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.92e-05/0.003569, allocations: 8.656 kB / 0.7906 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.003765, allocations: 228.4 kB / 0.7908 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.828e-05/0.003803, allocations: 27.59 kB / 0.7908 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.003816, allocations: 17.36 kB / 0.7908 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.003827, allocations: 0 / 0.7908 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.003844, allocations: 37.45 kB / 0.7908 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.003845, allocations: 0 / 0.7908 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001057/0.003951, allocations: 50.03 kB / 0.7909 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.003975, allocations: 52 kB / 0.7909 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.004031, allocations: 158.7 kB / 0.7911 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.004042, allocations: 25.7 kB / 0.7911 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.004085, allocations: 132 kB / 0.7912 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.0041, allocations: 3.953 kB / 0.7913 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.004124, allocations: 23.36 kB / 0.7913 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.004217, allocations: 0.4897 MB / 0.7918 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-06/0.004225, allocations: 0 / 0.7918 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-06/0.004232, allocations: 0 / 0.7918 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.99e-05/0.004252, allocations: 13.44 kB / 0.7918 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.004253, allocations: 4 kB / 0.7918 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.39e-05/0.004297, allocations: 33.64 kB / 0.7918 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.004313, allocations: 8 kB / 0.7918 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.004318, allocations: 5.203 kB / 0.7918 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.996e-06/0.004327, allocations: 3.938 kB / 0.7918 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.115e-05/0.004378, allocations: 4 kB / 0.7918 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-06/0.00438, allocations: 1.312 kB / 0.7918 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.004397, allocations: 8.125 kB / 0.7918 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.004401, allocations: 0 / 0.7918 GB, free: 8.426 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.499e-05/0.004456, allocations: 158.2 kB / 0.792 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.004472, allocations: 15.97 kB / 0.792 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/0.00453, allocations: 37.02 kB / 0.792 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.004533, allocations: 11.86 kB / 0.792 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.004534, allocations: 2.75 kB / 0.792 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.004537, allocations: 0 / 0.792 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.375e-05/0.004621, allocations: 105.2 kB / 0.7921 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.004621, allocations: 3.938 kB / 0.7922 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.004639, allocations: 7.984 kB / 0.7922 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.00464, allocations: 0 / 0.7922 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-06/0.004644, allocations: 0 / 0.7922 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.004645, allocations: 4.5 kB / 0.7922 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.004646, allocations: 0.5312 kB / 0.7922 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.149e-05/0.004717, allocations: 185.9 kB / 0.7923 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.004724, allocations: 3.984 kB / 0.7923 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-06/0.004732, allocations: 8 kB / 0.7924 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.796e-05/0.00476, allocations: 0 / 0.7924 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.004782, allocations: 4 kB / 0.7924 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.004785, allocations: 6.531 kB / 0.7924 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.004815, allocations: 127.1 kB / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004815, allocations: 0 / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001334/0.004949, allocations: 4 kB / 0.7925 GB, free: 7.699 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 6.698e-05/0.005016, allocations: 95.25 kB / 0.7926 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.731e-05/0.005073, allocations: 12.53 kB / 0.7926 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.005074, allocations: 0 / 0.7926 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.582e-05/0.00509, allocations: 16.52 kB / 0.7926 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.005268, allocations: 11.67 kB / 0.7926 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.005589, allocations: 119.1 kB / 0.7927 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.245e-05/0.005621, allocations: 55.3 kB / 0.7928 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.005642, allocations: 4.703 kB / 0.7928 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.005692, allocations: 77.11 kB / 0.7929 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of SimCode: time 1.202e-06/0.005693, allocations: 0 / 0.7929 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of Templates: time 0.001799/0.007492, allocations: 0.5183 MB / 0.7934 GB, free: 6.762 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.968158619944006]