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.0009549/0.0009548, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001038/0.001038, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.907/2.907, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003499, allocations: 11.56 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3123, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.000775/0.3131, allocations: 262.1 kB / 1.058 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000461/0.3136, allocations: 140.2 kB / 1.058 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.3137, allocations: 0 / 1.058 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.3137, allocations: 7.875 kB / 1.058 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.3139, allocations: 4 kB / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.884e-05/0.314, allocations: 27.91 kB / 1.058 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.346e-05/0.3141, allocations: 19.94 kB / 1.058 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.89e-05/0.3141, allocations: 3.984 kB / 1.058 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.3142, allocations: 19.92 kB / 1.058 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.3146, allocations: 291.1 kB / 1.059 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.3146, allocations: 0 / 1.059 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.3147, allocations: 12 kB / 1.059 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.3147, allocations: 19.91 kB / 1.059 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.3147, allocations: 29.64 kB / 1.059 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.019e-05/0.3148, allocations: 19.97 kB / 1.059 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3148, allocations: 0 / 1.059 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3148, allocations: 0 / 1.059 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.3148, allocations: 0 / 1.059 GB, free: 4.523 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.0003178/0.3152, allocations: 335.5 kB / 1.059 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3152, allocations: 15.98 kB / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.3153, allocations: 3.906 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3154, allocations: 175 kB / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3154, allocations: 8 kB / 1.059 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3154, allocations: 7.953 kB / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.3156, allocations: 45.62 kB / 1.059 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3156, allocations: 3.938 kB / 1.059 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3156, allocations: 7.984 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3156, allocations: 0 / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.692e-05/0.3157, allocations: 12 kB / 1.059 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.316, allocations: 284.8 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.754e-05/0.3161, allocations: 14.58 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.3161, allocations: 8.922 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.3161, allocations: 3.938 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3162, allocations: 30.56 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.833e-06/0.3162, allocations: 0 / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001418/0.3163, allocations: 37.83 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3164, allocations: 55.41 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3165, allocations: 141.7 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.3165, allocations: 25.7 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.3166, allocations: 88.05 kB / 1.06 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.3166, allocations: 7.938 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.3166, allocations: 7.938 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3168, allocations: 318.8 kB / 1.06 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.3168, allocations: 12 kB / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/0.3168, allocations: 15.94 kB / 1.06 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.3168, allocations: 7.984 kB / 1.06 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3169, allocations: 0 / 1.06 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001228/0.317, allocations: 65.59 kB / 1.06 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.317, allocations: 4 kB / 1.06 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.317, allocations: 0 / 1.06 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.317, allocations: 0 / 1.06 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.506e-05/0.3171, allocations: 4 kB / 1.06 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.3171, allocations: 0 / 1.06 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.3171, allocations: 0 / 1.06 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.3171, allocations: 8 kB / 1.061 GB, free: 2.586 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 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.451e-05/0.3172, allocations: 126.4 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.3173, allocations: 7.906 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.3173, allocations: 3.531 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3173, allocations: 4 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3173, allocations: 0 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3173, allocations: 0 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.3176, allocations: 366.7 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3176, allocations: 192 / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-06/0.3177, allocations: 4 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3177, allocations: 0 / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.3177, allocations: 0 / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3177, allocations: 0 / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3177, allocations: 7.922 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.754e-05/0.3178, allocations: 68.92 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.3179, allocations: 93.16 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3179, allocations: 0 / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.212e-05/0.3179, allocations: 0 / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.3179, allocations: 0 / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.3179, allocations: 4 kB / 1.061 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.475e-05/0.318, allocations: 101.7 kB / 1.061 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.4e-07/0.318, allocations: 0 / 1.061 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002107/0.3182, allocations: 19.98 kB / 1.061 GB, free: 1.691 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 (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.0002758/0.3185, allocations: 128.1 kB / 1.061 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.458e-05/0.3186, allocations: 27.92 kB / 1.061 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3186, allocations: 0 / 1.061 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.458e-06/0.3186, allocations: 4 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.3188, allocations: 3.953 kB / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.319, allocations: 122.7 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.3193, allocations: 0.6809 MB / 1.062 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.3193, allocations: 8.125 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.3193, allocations: 15.42 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.3193, allocations: 0 / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of Templates: time 0.002575/0.3219, allocations: 0.5115 MB / 1.063 GB, free: 144 kB / 0.8106 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches