Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000794/0.000794, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008452/0.0008451, allocations: 177.2 kB / 16.92 MB, free: 6.652 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.608/2.608, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 8.656 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2978, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.000609/0.2985, allocations: 266.1 kB / 1.06 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004281/0.2989, allocations: 156.1 kB / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.275e-05/0.2989, allocations: 0 / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.299, allocations: 3.938 kB / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.2991, allocations: 0 / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.458e-05/0.2992, allocations: 27.91 kB / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.801e-05/0.2992, allocations: 19.94 kB / 1.06 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.2993, allocations: 11.98 kB / 1.06 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.2993, allocations: 7.938 kB / 1.06 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.2996, allocations: 318.9 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.2997, allocations: 0 / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.203e-05/0.2997, allocations: 16 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.2997, allocations: 15.84 kB / 1.06 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.2998, allocations: 41.58 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.649e-05/0.2999, allocations: 19.97 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2999, allocations: 0 / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2999, allocations: 0 / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.2999, allocations: 7.938 kB / 1.06 GB, free: 4.102 MB / 0.8106 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.0002727/0.3002, allocations: 339.7 kB / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3002, allocations: 15.98 kB / 1.061 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.3002, allocations: 8.844 kB / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.3003, allocations: 168.3 kB / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3004, allocations: 4.375 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.3004, allocations: 4.375 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.3005, allocations: 49.8 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.3005, allocations: 0 / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3005, allocations: 8 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.3005, allocations: 0 / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.63e-05/0.3006, allocations: 19.92 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.3009, allocations: 280.8 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.259e-05/0.301, allocations: 14.58 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.301, allocations: 8.922 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.992e-06/0.301, allocations: 0 / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.301, allocations: 34.56 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.301, allocations: 0 / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001349/0.3012, allocations: 49.53 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.3012, allocations: 51.41 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3013, allocations: 133.8 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.3013, allocations: 29.64 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.3014, allocations: 92.05 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.3014, allocations: 11.97 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.3014, allocations: 17.7 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.3015, allocations: 322.8 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.3016, allocations: 7.984 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.3016, allocations: 12 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.175e-05/0.3016, allocations: 20.8 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3017, allocations: 0 / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.68e-05/0.3018, allocations: 61.67 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3018, allocations: 8 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.3018, allocations: 4 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.3018, allocations: 0 / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.782e-05/0.3018, allocations: 0 / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.3018, allocations: 0 / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.3019, allocations: 7.906 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3019, allocations: 3.938 kB / 1.062 GB, free: 2.125 MB / 0.8106 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 (cmp5,cmp4,cmp3,cmp2,cmp1,cmpAll) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.848e-05/0.3019, allocations: 122.6 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.302, allocations: 7.984 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.302, allocations: 7.516 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.302, allocations: 4 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.302, allocations: 192 / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.302, allocations: 4 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.3023, allocations: 358.7 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3023, allocations: 0 / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-06/0.3023, allocations: 4 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3023, allocations: 0 / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.3023, allocations: 0 / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3023, allocations: 3.938 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3023, allocations: 4.031 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.77e-05/0.3024, allocations: 64.98 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.3025, allocations: 89 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3025, allocations: 4 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.377e-05/0.3025, allocations: 3.938 kB / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.3025, allocations: 3.984 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.3025, allocations: 0 / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.78e-05/0.3026, allocations: 113.9 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3026, allocations: 0 / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001946/0.3028, allocations: 8 kB / 1.063 GB, free: 1.234 MB / 0.8106 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 () * Number of clocked 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 (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.0002279/0.303, allocations: 120.6 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.189e-05/0.3031, allocations: 19.94 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3031, allocations: 4 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.756e-06/0.3031, allocations: 4 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.3033, allocations: 4 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.3035, allocations: 144.5 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.3037, allocations: 0.6887 MB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.3038, allocations: 15.44 kB / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3038, allocations: 0 / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of Templates: time 0.002266/0.306, allocations: 0.9467 MB / 1.065 GB, free: 15.23 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches