Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 190.3 kB / 16.13 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 63.89 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7884/0.7898, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002061/0.7919, allocations: 0.7278 MB / 1.017 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000938/0.7928, allocations: 0.8429 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.7929, allocations: 0 / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.7929, allocations: 0 / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.793, allocations: 11.94 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.7932, allocations: 7.984 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.608e-05/0.7932, allocations: 23.98 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.7933, allocations: 3.984 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.163e-05/0.7934, allocations: 11.94 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.7935, allocations: 11.92 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.7935, allocations: 3.938 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.7935, allocations: 4 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.7935, allocations: 7.938 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.7936, allocations: 8 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.187e-05/0.7936, allocations: 19.91 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7936, allocations: 0 / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7936, allocations: 0 / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.7937, allocations: 0 / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004459/0.7941, allocations: 337.5 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.7942, allocations: 12.02 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.7942, allocations: 0.9375 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.7943, allocations: 176.3 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.7943, allocations: 8.375 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.7944, allocations: 384 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.7945, allocations: 50.23 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.7946, allocations: 192 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.7946, allocations: 3.938 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.7946, allocations: 0 / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.7948, allocations: 39.89 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.7951, allocations: 245 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.7952, allocations: 38.5 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.7953, allocations: 20.95 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.7954, allocations: 3.938 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.7954, allocations: 38.56 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.7954, allocations: 3.938 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003546/0.7958, allocations: 81.58 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.7958, allocations: 51.41 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/0.7959, allocations: 97.86 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.7959, allocations: 25.7 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.796, allocations: 88.27 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.796, allocations: 15.83 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.796, allocations: 9.719 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7962, allocations: 314.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.7963, allocations: 15.98 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.7964, allocations: 11.98 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.7965, allocations: 48.81 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7965, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.7967, allocations: 73.59 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.7968, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.7968, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.7968, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.7969, allocations: 8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.7969, allocations: 7.969 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.428e-05/0.7969, allocations: 11.89 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.797, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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 8.906e-05/0.7971, allocations: 114.3 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.7971, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.7971, allocations: 11.11 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.7971, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7971, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7971, allocations: 4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.7973, allocations: 161.6 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7973, allocations: 7.938 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.7974, allocations: 7.984 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.7974, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.7974, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7974, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7974, allocations: 4 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.7977, allocations: 159.6 kB / 1.02 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.7977, allocations: 85.11 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.7977, allocations: 7.922 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.7978, allocations: 7.984 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.7979, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.7979, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.7979, allocations: 83.27 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7979, allocations: 4.031 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002432/0.7982, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.0001429/0.7983, allocations: 103.2 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.7985, allocations: 35.97 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7986, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.7986, allocations: 24.03 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.799, allocations: 7.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.7993, allocations: 107.5 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.7996, allocations: 0.677 MB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.7996, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.7996, allocations: 7.438 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of SimCode: time 2.575e-06/0.7996, allocations: 64 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of Templates: time 0.002497/0.8021, allocations: 362.9 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches