Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.001996/0.001996, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.002498/0.002498, allocations: 173 kB / 23.28 MB, free: 1.215 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.058/1.058, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.537/2.537, allocations: 438.1 MB / 0.682 GB, free: 14.13 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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8898 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/3.001e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002339/0.002369, allocations: 0.7212 MB / 0.8905 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.003707, allocations: 0.8469 MB / 0.8913 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.003766, allocations: 4 kB / 0.8914 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.003801, allocations: 7.938 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.113e-05/0.003892, allocations: 0 / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 7.962e-05/0.003972, allocations: 15.92 kB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.202e-05/0.004064, allocations: 39.92 kB / 0.8914 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.004189, allocations: 11.98 kB / 0.8914 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.004303, allocations: 19.92 kB / 0.8914 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.004352, allocations: 19.97 kB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.004372, allocations: 4 kB / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.944e-06/0.00438, allocations: 4 kB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.46e-05/0.004415, allocations: 15.86 kB / 0.8915 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.004444, allocations: 12 kB / 0.8915 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.004546, allocations: 31.83 kB / 0.8915 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.004551, allocations: 4 kB / 0.8915 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004551, allocations: 0 / 0.8915 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.004557, allocations: 0 / 0.8915 GB, free: 7.859 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004649/0.005022, allocations: 376.5 kB / 0.8919 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.005076, allocations: 12.62 kB / 0.8919 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.005111, allocations: 12.89 kB / 0.8919 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.005219, allocations: 104.6 kB / 0.892 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.005232, allocations: 4.375 kB / 0.892 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.005242, allocations: 4.375 kB / 0.892 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.005411, allocations: 66.92 kB / 0.8921 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.005421, allocations: 192 / 0.8921 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.005431, allocations: 4.375 kB / 0.8921 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.005438, allocations: 4.312 kB / 0.8921 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.005467, allocations: 11.92 kB / 0.8921 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.005819, allocations: 248.3 kB / 0.8923 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.245e-05/0.005891, allocations: 27.06 kB / 0.8924 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.00592, allocations: 15.69 kB / 0.8924 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.005929, allocations: 4 kB / 0.8924 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.00596, allocations: 41.39 kB / 0.8924 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.005961, allocations: 0 / 0.8924 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001571/0.006118, allocations: 45.72 kB / 0.8925 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.006154, allocations: 51.41 kB / 0.8925 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.006257, allocations: 173.9 kB / 0.8927 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.006272, allocations: 29.7 kB / 0.8927 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.006348, allocations: 130.9 kB / 0.8928 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.006372, allocations: 7.906 kB / 0.8928 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.006408, allocations: 23.38 kB / 0.8929 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.006623, allocations: 0.4884 MB / 0.8933 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.006641, allocations: 7.984 kB / 0.8934 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.006659, allocations: 11.88 kB / 0.8934 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.006698, allocations: 11.69 kB / 0.8934 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.0067, allocations: 0 / 0.8934 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.961e-05/0.00678, allocations: 41.69 kB / 0.8934 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.006795, allocations: 8 kB / 0.8934 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.006803, allocations: 0 / 0.8934 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.006821, allocations: 3.938 kB / 0.8934 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.006908, allocations: 8 kB / 0.8934 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.006913, allocations: 3.984 kB / 0.8934 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.124e-05/0.006944, allocations: 8 kB / 0.8934 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.00695, allocations: 0 / 0.8934 GB, free: 5.695 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 (3): * Single equations (assignments): 3 * 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 9.117e-05/0.007041, allocations: 160.5 kB / 0.8936 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.007062, allocations: 3.953 kB / 0.8936 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.007099, allocations: 12 kB / 0.8936 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.007103, allocations: 7.922 kB / 0.8936 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.007106, allocations: 0 / 0.8936 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.007109, allocations: 336 / 0.8936 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.007262, allocations: 101.2 kB / 0.8937 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.007265, allocations: 4 kB / 0.8937 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.007309, allocations: 15.98 kB / 0.8937 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.007311, allocations: 0 / 0.8937 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.007317, allocations: 0 / 0.8937 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.007318, allocations: 0 / 0.8937 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.00732, allocations: 3.984 kB / 0.8937 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.007463, allocations: 195.8 kB / 0.8939 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.007475, allocations: 11.95 kB / 0.8939 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.007486, allocations: 0 / 0.8939 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.007548, allocations: 7.984 kB / 0.8939 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.007593, allocations: 11.92 kB / 0.894 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.007597, allocations: 4 kB / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.007653, allocations: 127.2 kB / 0.8941 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007653, allocations: 0 / 0.8941 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002188/0.007872, allocations: 4 kB / 0.8941 GB, free: 4.973 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 (3): * Single equations (assignments): 3 * 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.0001169/0.007989, allocations: 99.19 kB / 0.8942 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.008082, allocations: 27.66 kB / 0.8942 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.008085, allocations: 0 / 0.8942 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/0.008111, allocations: 19.56 kB / 0.8942 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.008403, allocations: 13.88 kB / 0.8942 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.008726, allocations: 122.3 kB / 0.8944 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.288e-05/0.008779, allocations: 59.34 kB / 0.8944 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.008803, allocations: 0 / 0.8944 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.008874, allocations: 74.2 kB / 0.8945 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/0.008875, allocations: 0 / 0.8945 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.003128/0.012, allocations: 0.811 MB / 0.8953 GB, free: 3.695 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.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.501104525756091]