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.0009358/0.0009358, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.0009727/0.0009727, allocations: 173 kB / 23.36 MB, free: 1.133 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.9903/0.9903, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.386/2.386, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.913e-06/1.913e-06, allocations: 0 / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.654e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001516/0.001542, allocations: 0.7143 MB / 0.8394 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000995/0.002537, allocations: 0.843 MB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.00258, allocations: 4 kB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.38e-05/0.002614, allocations: 7.938 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.444e-05/0.002699, allocations: 7.875 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.988e-05/0.002769, allocations: 11.98 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.482e-05/0.002853, allocations: 51.83 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.002947, allocations: 8 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.003051, allocations: 15.98 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.003097, allocations: 19.97 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.00312, allocations: 7.938 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-06/0.003128, allocations: 4 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.003146, allocations: 8 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.003167, allocations: 11.98 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.928e-05/0.003256, allocations: 31.83 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.00326, allocations: 4 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.303e-06/0.003261, allocations: 0 / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.003266, allocations: 0 / 0.8404 GB, free: 12.39 MB / 0.8073 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.0003537/0.00362, allocations: 252.9 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.003655, allocations: 8.625 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.003679, allocations: 4.938 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.689e-05/0.003766, allocations: 121.7 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.003776, allocations: 4.375 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.003786, allocations: 384 / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.0039, allocations: 66.94 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.003907, allocations: 192 / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.003915, allocations: 4.359 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.003919, allocations: 384 / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.972e-05/0.003939, allocations: 7.938 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.004158, allocations: 160.2 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.637e-05/0.004214, allocations: 22.58 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.004238, allocations: 20.94 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.004245, allocations: 4 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.004265, allocations: 30.56 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.004265, allocations: 0 / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001035/0.004369, allocations: 49.56 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.004406, allocations: 51.41 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/0.004471, allocations: 118.7 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.004483, allocations: 29.64 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.004517, allocations: 88.12 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.004534, allocations: 7.906 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.004559, allocations: 17.72 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.698e-05/0.004636, allocations: 318.8 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-06/0.004646, allocations: 0 / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-06/0.004656, allocations: 4 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.004685, allocations: 20.83 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004688, allocations: 0 / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.953e-05/0.004737, allocations: 45.62 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.004747, allocations: 4 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.004753, allocations: 0 / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.004768, allocations: 3.938 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/0.004839, allocations: 8 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.004845, allocations: 7.984 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.004866, allocations: 4 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.004871, allocations: 0 / 0.8418 GB, free: 10.77 MB / 0.8073 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 5.925e-05/0.00493, allocations: 113.8 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.004941, allocations: 0 / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.004964, allocations: 15.98 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.004966, allocations: 3.938 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.004968, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.004971, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.949e-05/0.005061, allocations: 69.89 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.005061, allocations: 4 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.005083, allocations: 8 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-07/0.005084, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.005089, allocations: 336 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005089, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.00509, allocations: 3.938 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.734e-05/0.005167, allocations: 151.4 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.005175, allocations: 4 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-06/0.005182, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.187e-05/0.005214, allocations: 4 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.005246, allocations: 7.984 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.005251, allocations: 11.88 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.314e-05/0.005264, allocations: 12.84 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005264, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001256/0.00539, allocations: 15.95 kB / 0.8422 GB, free: 10.31 MB / 0.8073 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 8.892e-05/0.005479, allocations: 72.42 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.935e-05/0.005548, allocations: 16.8 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.00555, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.005567, allocations: 16.84 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.005711, allocations: 19.94 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002181/0.005929, allocations: 124.5 kB / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.359e-05/0.005963, allocations: 63.28 kB / 0.8425 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.637e-05/0.005979, allocations: 0 / 0.8425 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.006025, allocations: 55.38 kB / 0.8425 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of SimCode: time 4.41e-07/0.006025, allocations: 0 / 0.8425 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of Templates: time 0.002342/0.008368, allocations: 0.6883 MB / 0.8432 GB, free: 9.211 MB / 0.8073 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.344895764254034]