Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006307/0.006307, allocations: 103.6 kB / 15.74 MB, free: 6.035 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.001515/0.001515, allocations: 196.5 kB / 16.68 MB, free: 5.953 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.91 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8154/0.8169, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001635/0.8186, allocations: 0.529 MB / 1.088 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000397/0.819, allocations: 158.7 kB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.819, allocations: 0 / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.8191, allocations: 3.938 kB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.8193, allocations: 10.94 kB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.488e-05/0.8193, allocations: 35.62 kB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.723e-05/0.8194, allocations: 19.47 kB / 1.088 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.8195, allocations: 7.656 kB / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.8195, allocations: 14.25 kB / 1.088 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.8198, allocations: 297.3 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.8199, allocations: 2.156 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.8199, allocations: 18.41 kB / 1.088 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.82, allocations: 7.781 kB / 1.088 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.82, allocations: 15.11 kB / 1.089 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.761e-05/0.8201, allocations: 38.94 kB / 1.089 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.8201, allocations: 5.422 kB / 1.089 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.542e-06/0.8201, allocations: 0 / 1.089 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.8201, allocations: 0 / 1.089 GB, free: 4.641 MB / 0.8575 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.0002668/0.8204, allocations: 353.6 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.8204, allocations: 13.36 kB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.8205, allocations: 40.69 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.8205, allocations: 3.062 kB / 1.089 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.581e-05/0.8206, allocations: 173.5 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.8206, allocations: 5.531 kB / 1.089 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.8206, allocations: 10.81 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.8208, allocations: 49.88 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.8208, allocations: 0 / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.8208, allocations: 5.984 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.8208, allocations: 0 / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.54e-05/0.8209, allocations: 16.64 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.8212, allocations: 276.8 kB / 1.089 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.959e-05/0.8212, allocations: 21.48 kB / 1.089 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.8213, allocations: 6.047 kB / 1.089 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/0.8213, allocations: 1.875 kB / 1.089 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.8213, allocations: 34.5 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.8213, allocations: 1.531 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001379/0.8214, allocations: 36.83 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.8215, allocations: 52.83 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.8216, allocations: 148 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.8216, allocations: 26.27 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.8217, allocations: 92.78 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.8217, allocations: 1.953 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.8217, allocations: 24.78 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.721e-05/0.8218, allocations: 322.4 kB / 1.09 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.8218, allocations: 7.75 kB / 1.09 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.8218, allocations: 11.8 kB / 1.09 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.8219, allocations: 21.45 kB / 1.09 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.8219, allocations: 8.906 kB / 1.09 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001051/0.822, allocations: 64.06 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.822, allocations: 5.094 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.822, allocations: 0.6562 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.822, allocations: 1 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.155e-05/0.8221, allocations: 2.422 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.8221, allocations: 1.188 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.8221, allocations: 16.91 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.8221, allocations: 2.656 kB / 1.09 GB, free: 2.828 MB / 0.8575 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 4.581e-05/0.8222, allocations: 126.1 kB / 1.09 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.8222, allocations: 3.109 kB / 1.09 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.8222, allocations: 6.359 kB / 1.09 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.8222, allocations: 1.609 kB / 1.09 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.8222, allocations: 0 / 1.09 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8222, allocations: 4.734 kB / 1.09 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.8224, allocations: 357.1 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8224, allocations: 1.344 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-06/0.8225, allocations: 4.688 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.8225, allocations: 3.938 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.8225, allocations: 4.844 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8225, allocations: 0.5156 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8225, allocations: 1 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.022e-05/0.8225, allocations: 62.5 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.8226, allocations: 82.89 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.8226, allocations: 9.75 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.31e-05/0.8226, allocations: 0 / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.8226, allocations: 2.859 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.8226, allocations: 0 / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.8227, allocations: 99.67 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8227, allocations: 1.062 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002086/0.8229, allocations: 17.44 kB / 1.091 GB, free: 2.027 MB / 0.8575 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.0004186/0.8233, allocations: 0.6277 MB / 1.092 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.8234, allocations: 23.61 kB / 1.092 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8235, allocations: 3.938 kB / 1.092 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.021e-05/0.8235, allocations: 7.391 kB / 1.092 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.8236, allocations: 5.125 kB / 1.092 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.8239, allocations: 143.9 kB / 1.092 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.8242, allocations: 0.6854 MB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.8242, allocations: 14.25 kB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.8242, allocations: 15.02 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.8242, allocations: 0 / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.8418, allocations: 1.61 MB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.734, allocations: 2.953 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches