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.00166/0.00166, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001849/0.001849, allocations: 161 kB / 24.16 MB, free: 332 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.074/1.074, allocations: 177.2 MB / 204.6 MB, free: 5.457 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 2.024/2.024, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 177] 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.432e-06/1.432e-06, allocations: 0 / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.415e-05, allocations: 2.844 kB / 0.7601 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001533/0.001547, allocations: 0.7713 MB / 0.7609 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008076/0.002355, allocations: 0.8491 MB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.002391, allocations: 0 / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.002416, allocations: 7.938 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.624e-05/0.002483, allocations: 4.641 kB / 0.7617 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.714e-05/0.00254, allocations: 11.98 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.024e-05/0.00261, allocations: 47.52 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.181e-05/0.002682, allocations: 8 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.002754, allocations: 23.14 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.002792, allocations: 25.38 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.002807, allocations: 4 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.002816, allocations: 6.344 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.002834, allocations: 4.766 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.002854, allocations: 15.92 kB / 0.7619 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.74e-05/0.002921, allocations: 20.88 kB / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.002923, allocations: 4 kB / 0.7619 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.2e-07/0.002924, allocations: 0 / 0.7619 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.002927, allocations: 0.6875 kB / 0.7619 GB, free: 4.762 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.0002527/0.00318, allocations: 254.5 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.00321, allocations: 8.031 kB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.031e-05/0.00323, allocations: 8.875 kB / 0.7621 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.766e-05/0.003298, allocations: 117.7 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.003305, allocations: 1.094 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-06/0.003311, allocations: 384 / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.794e-05/0.003409, allocations: 71.38 kB / 0.7623 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.003414, allocations: 0.9375 kB / 0.7623 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.003421, allocations: 384 / 0.7623 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.003424, allocations: 1.125 kB / 0.7623 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.003444, allocations: 7.938 kB / 0.7623 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.003627, allocations: 157.1 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.716e-05/0.003674, allocations: 24.7 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.003692, allocations: 12.94 kB / 0.7625 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.003699, allocations: 4 kB / 0.7625 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.003715, allocations: 30.56 kB / 0.7626 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.003716, allocations: 0 / 0.7626 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001045/0.003821, allocations: 45.62 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.003846, allocations: 53.19 kB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.003912, allocations: 114.8 kB / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.003922, allocations: 25.7 kB / 0.7628 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.003953, allocations: 92.08 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.003972, allocations: 10.83 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.003996, allocations: 17.66 kB / 0.7629 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.004074, allocations: 322.8 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-06/0.004083, allocations: 0 / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-06/0.004093, allocations: 4 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/0.004118, allocations: 17.12 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.004119, allocations: 0 / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.634e-05/0.004166, allocations: 45.67 kB / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.004178, allocations: 6.75 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.004182, allocations: 0 / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.004193, allocations: 3.938 kB / 0.7633 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.608e-05/0.004259, allocations: 15.92 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.004261, allocations: 0 / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.004284, allocations: 8 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.00429, allocations: 4 kB / 0.7633 GB, free: 3.16 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.106e-05/0.004341, allocations: 110.5 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.004355, allocations: 1.125 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.004373, allocations: 15.98 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.004376, allocations: 3.938 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.004378, allocations: 0.75 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.00438, allocations: 0 / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.702e-05/0.004457, allocations: 79.44 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004458, allocations: 0 / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.004482, allocations: 8 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004483, allocations: 0 / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.004487, allocations: 1.281 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004487, allocations: 0 / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.004489, allocations: 4 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.081e-05/0.00456, allocations: 143.4 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.004567, allocations: 8.609 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-06/0.004574, allocations: 0.8438 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.004607, allocations: 4 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.004635, allocations: 8.547 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.004638, allocations: 3.938 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.111e-05/0.004649, allocations: 16.19 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004649, allocations: 0 / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001185/0.004768, allocations: 12 kB / 0.7637 GB, free: 2.711 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 5.857e-05/0.004826, allocations: 72.42 kB / 0.7638 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.24e-05/0.004879, allocations: 16.84 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.004881, allocations: 4 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.752e-05/0.004898, allocations: 16.78 kB / 0.7638 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.005029, allocations: 11.06 kB / 0.7638 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.005236, allocations: 132.6 kB / 0.764 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.179e-05/0.005268, allocations: 59.28 kB / 0.764 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.76e-05/0.005286, allocations: 5.062 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.005331, allocations: 51.38 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.005331, allocations: 0 / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of Templates: time 0.001998/0.00733, allocations: 0.68 MB / 0.7647 GB, free: 1.648 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 -s gbode -gbm=radauIIA3 -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.228737819939852]