Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.000954/0.000954, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009388/0.0009388, allocations: 169 kB / 23.27 MB, free: 1.223 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.9622/0.9622, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.351/2.351, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.997e-05, allocations: 10.19 kB / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001931/0.001961, allocations: 0.6822 MB / 0.8905 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.003092, allocations: 0.8703 MB / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.003133, allocations: 0 / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.00316, allocations: 0 / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.003231, allocations: 3.938 kB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.003417, allocations: 15.98 kB / 0.8913 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.02e-05/0.003487, allocations: 15.94 kB / 0.8914 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/0.003576, allocations: 11.98 kB / 0.8914 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.051e-05/0.003656, allocations: 11.94 kB / 0.8914 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.003691, allocations: 7.984 kB / 0.8914 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.003706, allocations: 0 / 0.8914 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.516e-05/0.003761, allocations: 15.92 kB / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.003776, allocations: 0 / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.003794, allocations: 11.98 kB / 0.8914 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.824e-05/0.003892, allocations: 15.92 kB / 0.8914 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.003894, allocations: 0 / 0.8914 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003896, allocations: 4 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003899, allocations: 3.938 kB / 0.8914 GB, free: 8.031 MB / 0.8542 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.0003488/0.004247, allocations: 360.6 kB / 0.8918 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.004291, allocations: 12.62 kB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.004386, allocations: 8.891 kB / 0.8918 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.515e-05/0.004471, allocations: 116.5 kB / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.004483, allocations: 384 / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.004493, allocations: 4.375 kB / 0.8919 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.004607, allocations: 50.95 kB / 0.892 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.004615, allocations: 192 / 0.892 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.004622, allocations: 4.375 kB / 0.892 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.004628, allocations: 4.375 kB / 0.892 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.138e-05/0.004649, allocations: 3.938 kB / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.00491, allocations: 232.4 kB / 0.8922 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.003e-05/0.00496, allocations: 31.05 kB / 0.8922 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.004978, allocations: 11.75 kB / 0.8922 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.004998, allocations: 0 / 0.8922 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.005021, allocations: 33.39 kB / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.005022, allocations: 0 / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001395/0.005162, allocations: 57.56 kB / 0.8923 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.005192, allocations: 51.41 kB / 0.8924 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.005272, allocations: 157.9 kB / 0.8925 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.005282, allocations: 25.7 kB / 0.8926 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.00533, allocations: 134.8 kB / 0.8927 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.005348, allocations: 7.984 kB / 0.8927 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.005381, allocations: 19.38 kB / 0.8927 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.005515, allocations: 496.1 kB / 0.8932 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.00553, allocations: 4 kB / 0.8932 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.021e-05/0.00554, allocations: 0 / 0.8932 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.005573, allocations: 19.86 kB / 0.8932 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.005575, allocations: 0 / 0.8932 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.972e-05/0.005645, allocations: 41.59 kB / 0.8932 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.005662, allocations: 8 kB / 0.8933 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.005667, allocations: 0 / 0.8933 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.005686, allocations: 3.938 kB / 0.8933 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/0.005748, allocations: 4 kB / 0.8933 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.005752, allocations: 3.984 kB / 0.8933 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.005775, allocations: 4 kB / 0.8933 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.005779, allocations: 4.031 kB / 0.8933 GB, free: 5.953 MB / 0.8542 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 7.155e-05/0.005851, allocations: 156.6 kB / 0.8934 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.005873, allocations: 4 kB / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.933e-05/0.005962, allocations: 40.94 kB / 0.8935 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.005968, allocations: 7.938 kB / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.00597, allocations: 0 / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005973, allocations: 0 / 0.8935 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.006094, allocations: 105.2 kB / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006095, allocations: 0 / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.006127, allocations: 4 kB / 0.8936 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006129, allocations: 4.031 kB / 0.8936 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.006134, allocations: 0 / 0.8936 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006135, allocations: 0 / 0.8936 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.006138, allocations: 4 kB / 0.8936 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.00625, allocations: 187.9 kB / 0.8938 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.006259, allocations: 7.953 kB / 0.8938 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.006268, allocations: 3.938 kB / 0.8938 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.419e-05/0.006322, allocations: 8 kB / 0.8938 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.00635, allocations: 3.984 kB / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.006357, allocations: 7.938 kB / 0.8938 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.006397, allocations: 123.2 kB / 0.8939 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006397, allocations: 0 / 0.8939 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002288/0.006626, allocations: 4 kB / 0.8939 GB, free: 5.23 MB / 0.8542 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.0001011/0.006727, allocations: 95.23 kB / 0.894 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.099e-05/0.006798, allocations: 19.62 kB / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006799, allocations: 0 / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.865e-05/0.006818, allocations: 11.69 kB / 0.894 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.007069, allocations: 8.125 kB / 0.894 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.007317, allocations: 110.4 kB / 0.8941 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.018e-05/0.007357, allocations: 63.28 kB / 0.8942 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.877e-05/0.007376, allocations: 0 / 0.8942 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.007426, allocations: 70.2 kB / 0.8943 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.007426, allocations: 0 / 0.8943 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of Templates: time 0.002472/0.009898, allocations: 0.5092 MB / 0.8948 GB, free: 4.285 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.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: 5.124809589702636]