Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001399/0.001399, allocations: 186.5 kB / 16.25 MB, free: 6.637 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.536/1.536, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.834/2.834, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.002, allocations: 75.88 kB / 0.8688 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6832/0.6853, allocations: 151.6 MB / 1.017 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002206/0.6875, allocations: 0.7394 MB / 1.018 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.6886, allocations: 0.7962 MB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.6886, allocations: 0 / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.6886, allocations: 3.984 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.009e-05/0.6887, allocations: 7.938 kB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.6889, allocations: 4 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.028e-05/0.689, allocations: 19.98 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.6891, allocations: 4 kB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.6892, allocations: 15.88 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.6892, allocations: 15.98 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.6892, allocations: 0 / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.6892, allocations: 4 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.6893, allocations: 7.922 kB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.6893, allocations: 7.984 kB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.042e-05/0.6894, allocations: 19.91 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6894, allocations: 4 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6894, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.6894, allocations: 0 / 1.018 GB, free: 1.219 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.0005016/0.6899, allocations: 341.6 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.69, allocations: 8.031 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.69, allocations: 4.938 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.6902, allocations: 164.3 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.6902, allocations: 384 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.6902, allocations: 4.375 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.6904, allocations: 46.23 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.6904, allocations: 4.188 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.6904, allocations: 7.875 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.6904, allocations: 4 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.6906, allocations: 35.89 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.691, allocations: 240.9 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.6911, allocations: 46.53 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.81e-05/0.6912, allocations: 24.91 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.6913, allocations: 0 / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.6913, allocations: 34.5 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 3.466e-06/0.6913, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003595/0.6917, allocations: 85.58 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.6918, allocations: 55.53 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.6918, allocations: 105.8 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.6919, allocations: 25.7 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.6919, allocations: 80.14 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.692, allocations: 7.844 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.692, allocations: 17.72 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6922, allocations: 310.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/0.6922, allocations: 19.97 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/0.6923, allocations: 19.98 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.6925, allocations: 36.77 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.6925, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001874/0.6927, allocations: 69.66 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.6927, allocations: 4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6927, allocations: 4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.6927, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.6928, allocations: 7.984 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.6928, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.6929, allocations: 4 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.6929, allocations: 3.984 kB / 1.02 GB, free: 15.2 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 9.065e-05/0.693, allocations: 117.8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.693, allocations: 7.938 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.6933, allocations: 76.72 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.6933, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6933, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6933, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.6935, allocations: 169.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6935, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.6936, allocations: 12.03 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6936, allocations: 192 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.6936, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6936, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6936, allocations: 3.984 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.6939, allocations: 167.3 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.694, allocations: 81.12 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.694, allocations: 8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.6941, allocations: 7.938 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.6941, allocations: 7.984 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.6941, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.382e-05/0.6942, allocations: 79.28 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6942, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002107/0.6944, allocations: 4 kB / 1.021 GB, free: 14.38 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.0001721/0.6946, allocations: 99.78 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.6948, allocations: 43.95 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6948, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.394e-05/0.6949, allocations: 19.92 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.6953, allocations: 3.938 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.6956, allocations: 117.6 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.696, allocations: 0.6768 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.286e-05/0.696, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.696, allocations: 11.44 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6961, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of Templates: time 0.002842/0.6989, allocations: 380.2 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches