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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_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.001381/0.001381, allocations: 108 kB / 15.61 MB, free: 152 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.001405/0.001405, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.75 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2479, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001738/0.2497, allocations: 0.5262 MB / 1.064 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000419/0.2501, allocations: 164 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.2502, allocations: 0 / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.345e-05/0.2502, allocations: 3.938 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.2504, allocations: 15.86 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.364e-05/0.2505, allocations: 19.98 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.465e-05/0.2506, allocations: 23.92 kB / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.2506, allocations: 7.969 kB / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.542e-05/0.2506, allocations: 11.94 kB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000346/0.251, allocations: 314.5 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.251, allocations: 0 / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.193e-05/0.2511, allocations: 20 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.2511, allocations: 7.938 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.2512, allocations: 19.86 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.2513, allocations: 31.91 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2513, allocations: 7.922 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.256e-06/0.2513, allocations: 0 / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2513, allocations: 3.938 kB / 1.065 GB, free: 13.41 MB / 0.8262 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.000364/0.2517, allocations: 343.6 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2517, allocations: 12.03 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.442e-05/0.2518, allocations: 38.75 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.2518, allocations: 0.9375 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2519, allocations: 180.2 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2519, allocations: 4.375 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.252, allocations: 4.312 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.2521, allocations: 57.61 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.2521, allocations: 0 / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.2521, allocations: 0 / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2521, allocations: 0 / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.2522, allocations: 15.94 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.2525, allocations: 280.8 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.879e-05/0.2526, allocations: 18.64 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.2526, allocations: 8.859 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.2526, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2526, allocations: 30.56 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2526, allocations: 0 / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.2528, allocations: 41.64 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.2528, allocations: 51.41 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.253, allocations: 147.3 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.253, allocations: 25.7 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.2531, allocations: 95.98 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.2531, allocations: 0 / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.2531, allocations: 25.7 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2532, allocations: 322.9 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.2533, allocations: 12 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/0.2533, allocations: 12 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.2533, allocations: 24.91 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2533, allocations: 4 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001156/0.2535, allocations: 61.59 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2535, allocations: 4 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2535, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2535, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.095e-05/0.2535, allocations: 4 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2535, allocations: 3.938 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.2536, allocations: 11.84 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.2536, allocations: 4 kB / 1.067 GB, free: 11.37 MB / 0.8262 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.875e-05/0.2537, allocations: 121.8 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.2537, allocations: 3.938 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.2537, allocations: 7.531 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2537, allocations: 3.938 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2537, allocations: 0 / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2537, allocations: 3.938 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.254, allocations: 358.8 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.254, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-06/0.254, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.254, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.2541, allocations: 7.938 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2541, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2541, allocations: 4 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.821e-05/0.2541, allocations: 72.98 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.2542, allocations: 77.11 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.2542, allocations: 3.938 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.2542, allocations: 4.062 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.2542, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.2543, allocations: 4 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.48e-05/0.2543, allocations: 104.1 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2543, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002079/0.2546, allocations: 20 kB / 1.067 GB, free: 10.48 MB / 0.8262 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.0004193/0.255, allocations: 0.6151 MB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.036e-05/0.2551, allocations: 31.95 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2551, allocations: 3.938 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.344e-06/0.2551, allocations: 0 / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.2552, allocations: 9.656 kB / 1.068 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.2556, allocations: 147.1 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.2558, allocations: 0.6846 MB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.2558, allocations: 16.27 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.2559, allocations: 19.44 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2559, allocations: 3.938 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.2713, allocations: 1.565 MB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.222/7.493, allocations: 11.66 kB / 1.07 GB, free: 7.371 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv","/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