Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001426/0.001426, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001968/0.001968, allocations: 161 kB / 24.17 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.06/1.06, allocations: 177.1 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 2.066/2.066, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.175e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001578/0.0016, allocations: 0.7747 MB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.002827, allocations: 0.8437 MB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.002865, allocations: 0 / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.002894, allocations: 9.391 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.002971, allocations: 7.797 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.147e-05/0.003032, allocations: 11.98 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.688e-05/0.003109, allocations: 43.42 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.003194, allocations: 8.641 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.742e-05/0.003281, allocations: 29.94 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.202e-05/0.003323, allocations: 14.97 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.00334, allocations: 4 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-06/0.003346, allocations: 4 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.003367, allocations: 10.27 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.003386, allocations: 9.531 kB / 0.7619 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.041e-05/0.003466, allocations: 33.97 kB / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003468, allocations: 2.016 kB / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003469, allocations: 0 / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.003474, allocations: 0 / 0.7619 GB, free: 4.77 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.0003158/0.003789, allocations: 250.2 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.003825, allocations: 8.031 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.003851, allocations: 4.938 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.713e-05/0.003928, allocations: 114.5 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.003936, allocations: 0.9219 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.003944, allocations: 4.906 kB / 0.7623 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.00405, allocations: 67.59 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.004055, allocations: 1.406 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.004062, allocations: 384 / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.004066, allocations: 8.297 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.004089, allocations: 11.94 kB / 0.7623 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.004279, allocations: 153.5 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.059e-05/0.00433, allocations: 26.52 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.00435, allocations: 21.64 kB / 0.7625 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.004357, allocations: 0 / 0.7625 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.004375, allocations: 31.31 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.004376, allocations: 0 / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000103/0.004479, allocations: 46.47 kB / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.004505, allocations: 55.34 kB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.624e-05/0.004561, allocations: 116.8 kB / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.00457, allocations: 25.7 kB / 0.7628 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.004607, allocations: 88.08 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.004626, allocations: 11.95 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.00465, allocations: 9.719 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.004721, allocations: 320.2 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.004732, allocations: 3.984 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-06/0.004742, allocations: 4 kB / 0.7632 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/0.004766, allocations: 12.86 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.004768, allocations: 1.75 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.789e-05/0.004816, allocations: 37.69 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.004826, allocations: 7.938 kB / 0.7633 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.004831, allocations: 0 / 0.7633 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.004842, allocations: 7.188 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.004908, allocations: 11.98 kB / 0.7633 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.004911, allocations: 8 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.004936, allocations: 7.984 kB / 0.7633 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.004941, allocations: 4 kB / 0.7633 GB, free: 3.172 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 4.958e-05/0.004991, allocations: 105.8 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.005007, allocations: 4 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.005025, allocations: 8 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.005028, allocations: 6.906 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.005029, allocations: 0 / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.005032, allocations: 4 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.408e-05/0.005116, allocations: 73.88 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.005117, allocations: 3.938 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.005144, allocations: 11.98 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.005146, allocations: 4 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.00515, allocations: 1.5 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005151, allocations: 0 / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005151, allocations: 0 / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.679e-05/0.005228, allocations: 139.4 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.005235, allocations: 3.953 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-06/0.005243, allocations: 0.6562 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-05/0.00528, allocations: 8.609 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.005312, allocations: 12.36 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.005315, allocations: 4.594 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.314e-05/0.005328, allocations: 13.75 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005328, allocations: 4 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001168/0.005445, allocations: 4 kB / 0.7637 GB, free: 2.727 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.091e-05/0.005516, allocations: 79.08 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.798e-05/0.005574, allocations: 28.77 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.005576, allocations: 0 / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.645e-05/0.005592, allocations: 8.859 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.005736, allocations: 19.05 kB / 0.7638 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.005968, allocations: 128.6 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.557e-05/0.006003, allocations: 63.28 kB / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.839e-05/0.006021, allocations: 0 / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.006073, allocations: 51.38 kB / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/0.006074, allocations: 1.125 kB / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of Templates: time 0.002223/0.008296, allocations: 0.6667 MB / 0.7647 GB, free: 1.664 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.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.261377651710063]