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.007361/0.007368, allocations: 99.59 kB / 15.73 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.001651/0.001651, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.609/2.609, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 66 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2537, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001571/0.2553, allocations: 0.5242 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004072/0.2558, allocations: 148.4 kB / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.2558, allocations: 0 / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.2559, allocations: 7.875 kB / 1.088 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.256, allocations: 19.91 kB / 1.088 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.491e-05/0.2561, allocations: 23.92 kB / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.627e-05/0.2562, allocations: 19.92 kB / 1.088 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.2563, allocations: 11.98 kB / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/0.2563, allocations: 11.94 kB / 1.088 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.2566, allocations: 312.3 kB / 1.088 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2566, allocations: 4 kB / 1.088 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.403e-05/0.2567, allocations: 11.98 kB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.2567, allocations: 15.92 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.2567, allocations: 11.88 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.2569, allocations: 40.11 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2569, allocations: 0 / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2569, allocations: 0 / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.2569, allocations: 4 kB / 1.089 GB, free: 0.8555 MB / 0.8419 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.0003138/0.2572, allocations: 347.2 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2573, allocations: 8.031 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.2573, allocations: 38.73 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.2573, allocations: 0.9375 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2574, allocations: 188.2 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2575, allocations: 384 / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2575, allocations: 8.312 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.2576, allocations: 49.61 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2576, allocations: 4 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.2576, allocations: 8 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.2576, allocations: 4 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.527e-05/0.2577, allocations: 12 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.258, allocations: 280.8 kB / 1.089 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.646e-05/0.2581, allocations: 18.52 kB / 1.089 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.2581, allocations: 8.922 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-06/0.2581, allocations: 4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.2581, allocations: 34.56 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/0.2581, allocations: 0 / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001271/0.2583, allocations: 45.58 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.2583, allocations: 51.41 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.2584, allocations: 136.8 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.2585, allocations: 25.7 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.2585, allocations: 100.2 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/0.2585, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.2586, allocations: 25.7 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2587, allocations: 322.8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.2587, allocations: 12 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.056e-05/0.2587, allocations: 4 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.637e-05/0.2588, allocations: 20.84 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2588, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001106/0.2589, allocations: 69.58 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2589, allocations: 10.19 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.2589, allocations: 0 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2589, allocations: 0 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.179e-05/0.259, allocations: 4 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.259, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.259, allocations: 11.88 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.259, allocations: 7.984 kB / 1.09 GB, free: 14.8 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 6.838e-05/0.2591, allocations: 105.8 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.2591, allocations: 7.953 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.2592, allocations: 15.53 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2592, allocations: 3.938 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2592, allocations: 0 / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2592, allocations: 3.938 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.2595, allocations: 358.9 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2595, allocations: 7.938 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-06/0.2595, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2595, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.2595, allocations: 3.938 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2595, allocations: 4.031 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2595, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.338e-05/0.2596, allocations: 65.08 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.2596, allocations: 81.11 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.2596, allocations: 3.938 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.485e-05/0.2597, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.2597, allocations: 3.938 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.2597, allocations: 8.031 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.15e-05/0.2598, allocations: 103.2 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2598, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002199/0.26, allocations: 12 kB / 1.091 GB, free: 13.92 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.0004439/0.2604, allocations: 0.6186 MB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.849e-05/0.2606, allocations: 31.86 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2606, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-06/0.2606, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.2607, allocations: 8 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.2611, allocations: 150.7 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.2613, allocations: 0.6846 MB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.038e-05/0.2614, allocations: 8.125 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.2614, allocations: 15.44 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2614, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.278, allocations: 1.603 MB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.059, allocations: 16.28 kB / 1.094 GB, free: 10.8 MB / 0.8575 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