Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001392/0.001392, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001577/0.001577, allocations: 161 kB / 24.16 MB, free: 328 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 1.005/1.005, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.959/1.959, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.232e-05, allocations: 6.312 kB / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.005503/0.005526, allocations: 0.7232 MB / 0.7608 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.006579, allocations: 0.8515 MB / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.006612, allocations: 0 / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.006637, allocations: 6.953 kB / 0.7616 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.006702, allocations: 5.844 kB / 0.7616 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.158e-05/0.006754, allocations: 11.98 kB / 0.7616 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.158e-05/0.006825, allocations: 43.31 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.782e-05/0.006893, allocations: 8.516 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.006971, allocations: 23.23 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.426e-05/0.007005, allocations: 17.61 kB / 0.7617 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.007022, allocations: 4 kB / 0.7617 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.803e-06/0.007029, allocations: 6.062 kB / 0.7617 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.007044, allocations: 9.188 kB / 0.7618 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.007065, allocations: 13.84 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.987e-05/0.007135, allocations: 37.48 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.007136, allocations: 0.5938 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.81e-07/0.007137, allocations: 1.094 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.655e-06/0.007139, allocations: 1.344 kB / 0.7618 GB, free: 4.812 MB / 0.7136 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.0002836/0.007423, allocations: 248.9 kB / 0.762 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.007454, allocations: 9.469 kB / 0.762 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.007478, allocations: 4.938 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.691e-05/0.007554, allocations: 109.8 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.007565, allocations: 4.375 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.007575, allocations: 1.625 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.007683, allocations: 66.92 kB / 0.7622 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.007689, allocations: 192 / 0.7622 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.007695, allocations: 2.281 kB / 0.7622 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.007702, allocations: 4.375 kB / 0.7622 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.294e-05/0.007725, allocations: 11.88 kB / 0.7622 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.007911, allocations: 156.9 kB / 0.7624 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.087e-05/0.007961, allocations: 23.11 kB / 0.7624 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.007981, allocations: 9.516 kB / 0.7624 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.007988, allocations: 3.938 kB / 0.7624 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.008011, allocations: 47.92 kB / 0.7625 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.008012, allocations: 0 / 0.7625 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000106/0.008118, allocations: 41.81 kB / 0.7625 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.008146, allocations: 56.62 kB / 0.7626 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/0.01121, allocations: 110.7 kB / 0.7627 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.01122, allocations: 25.7 kB / 0.7627 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.01125, allocations: 92.08 kB / 0.7628 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.01127, allocations: 4.703 kB / 0.7628 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.0113, allocations: 17.72 kB / 0.7628 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.01137, allocations: 319.6 kB / 0.7631 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.01139, allocations: 4 kB / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.0114, allocations: 4.734 kB / 0.7631 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.01143, allocations: 20.78 kB / 0.7631 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01143, allocations: 2.125 kB / 0.7631 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.682e-05/0.01149, allocations: 37.69 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.0115, allocations: 4 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01151, allocations: 4 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.01152, allocations: 3.938 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.688e-05/0.01159, allocations: 9.781 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.01159, allocations: 0 / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.01161, allocations: 7.984 kB / 0.7632 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.01162, allocations: 0 / 0.7632 GB, free: 3.227 MB / 0.7136 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.61e-05/0.01168, allocations: 117 kB / 0.7633 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.01169, allocations: 4 kB / 0.7633 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.01172, allocations: 4 kB / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.01172, allocations: 7.922 kB / 0.7633 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.01172, allocations: 4 kB / 0.7633 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.01172, allocations: 0 / 0.7633 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.01183, allocations: 69.89 kB / 0.7634 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01183, allocations: 8 kB / 0.7634 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.01187, allocations: 14.92 kB / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.01187, allocations: 4 kB / 0.7634 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-06/0.01187, allocations: 0 / 0.7634 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.01187, allocations: 0 / 0.7634 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.01187, allocations: 3.938 kB / 0.7634 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.953e-05/0.01195, allocations: 135.5 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-06/0.01196, allocations: 7.938 kB / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.01197, allocations: 4 kB / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.016e-05/0.01202, allocations: 9.438 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.01205, allocations: 7.984 kB / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.01205, allocations: 3.938 kB / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.408e-05/0.01207, allocations: 12.86 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01207, allocations: 1.406 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001772/0.01225, allocations: 4 kB / 0.7636 GB, free: 2.77 MB / 0.7136 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 7.261e-05/0.01232, allocations: 81.69 kB / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.377e-05/0.01237, allocations: 12.86 kB / 0.7637 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01237, allocations: 0 / 0.7637 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.01239, allocations: 13.45 kB / 0.7637 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.01255, allocations: 20.55 kB / 0.7637 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.01277, allocations: 134.1 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.309e-05/0.0128, allocations: 63.28 kB / 0.7639 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.864e-05/0.01282, allocations: 3.062 kB / 0.7639 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.01287, allocations: 55.38 kB / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/0.01287, allocations: 0 / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.005369/0.01824, allocations: 0.6688 MB / 0.7646 GB, free: 1.703 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.131463489960879]