Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009938/0.0009938, allocations: 176.9 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 94.39 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.596e-05/1.599e-05, allocations: 3.984 kB / 0.7813 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.263, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9375/1.201, allocations: 131.6 MB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.201, allocations: 71.22 kB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003974/1.205, allocations: 2.106 MB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.403e-06/1.205, allocations: 0 / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.937e-06/1.205, allocations: 4 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003089/1.205, allocations: 330 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.205, allocations: 11.97 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/1.205, allocations: 7.906 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/1.206, allocations: 179 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/1.206, allocations: 0 / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/1.206, allocations: 0 / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.747e-05/1.206, allocations: 19.92 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.783e-05/1.206, allocations: 41.38 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.206, allocations: 2.625 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/1.206, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.206, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/1.206, allocations: 255.4 kB / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/1.206, allocations: 30.12 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/1.206, allocations: 4.859 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/1.206, allocations: 0 / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/1.206, allocations: 34.62 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/1.206, allocations: 0 / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001383/1.207, allocations: 33.69 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/1.207, allocations: 55.44 kB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/1.207, allocations: 127.3 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/1.207, allocations: 25.7 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/1.207, allocations: 95.72 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.424e-06/1.207, allocations: 3.938 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/1.207, allocations: 3.938 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.207, allocations: 321.3 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/1.207, allocations: 7.75 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/1.207, allocations: 7.875 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/1.207, allocations: 27.97 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.207, allocations: 0 / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001767/1.207, allocations: 69.08 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.207, allocations: 4 kB / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.207, allocations: 3.938 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.207, allocations: 0 / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.781e-05/1.207, allocations: 7.938 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.207, allocations: 0 / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/1.207, allocations: 3.984 kB / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/1.208, allocations: 4 kB / 1.018 GB, free: 2.699 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.983e-05/1.208, allocations: 112.9 kB / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/1.208, allocations: 4 kB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/1.208, allocations: 12.05 kB / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/1.208, allocations: 0 / 1.018 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.208, allocations: 4 kB / 1.018 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.208, allocations: 0 / 1.018 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/1.208, allocations: 342.8 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.208, allocations: 4.031 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-06/1.208, allocations: 3.875 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.208, allocations: 4 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/1.208, allocations: 0 / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/1.208, allocations: 0 / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.208, allocations: 0 / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.1e-05/1.208, allocations: 65.02 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/1.208, allocations: 88.88 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/1.208, allocations: 4.031 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.128e-05/1.208, allocations: 4 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/1.208, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-06/1.208, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.708e-05/1.208, allocations: 102.8 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/1.208, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001903/1.209, allocations: 12 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmpAll) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002979/1.209, allocations: 124.3 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.811e-05/1.209, allocations: 23.88 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.209, allocations: 0 / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.61e-06/1.209, allocations: 0 / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/1.209, allocations: 10 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002023/1.209, allocations: 71.69 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/1.21, allocations: 0.6924 MB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.282e-05/1.21, allocations: 8.125 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/1.21, allocations: 7.438 kB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.21, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of Templates: time 0.00255/1.212, allocations: 0.5082 MB / 1.02 GB, free: 424 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches