Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_10_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.005198/0.005198, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001255/0.001255, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 68.08 kB / 1.018 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2736, allocations: 151.6 MB / 1.166 GB, free: 7.418 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001625/0.2753, allocations: 0.5282 MB / 1.167 GB, free: 6.887 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004209/0.2757, allocations: 148.5 kB / 1.167 GB, free: 6.738 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.2758, allocations: 0 / 1.167 GB, free: 6.738 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.2758, allocations: 3.938 kB / 1.167 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.276, allocations: 7.938 kB / 1.167 GB, free: 6.727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.199e-05/0.2761, allocations: 27.91 kB / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.704e-05/0.2762, allocations: 19.92 kB / 1.167 GB, free: 6.68 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.2762, allocations: 4 kB / 1.167 GB, free: 6.676 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.94e-05/0.2762, allocations: 23.91 kB / 1.167 GB, free: 6.652 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.2766, allocations: 320.9 kB / 1.167 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.2767, allocations: 8 kB / 1.167 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.2767, allocations: 16 kB / 1.167 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.2768, allocations: 11.98 kB / 1.167 GB, free: 6.324 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.2768, allocations: 15.86 kB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.2769, allocations: 36.06 kB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2769, allocations: 0 / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2769, allocations: 0 / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2769, allocations: 0 / 1.167 GB, free: 6.273 MB / 0.92 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.000366/0.2773, allocations: 355.2 kB / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2774, allocations: 8.031 kB / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.2774, allocations: 38.75 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.2774, allocations: 4.891 kB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2776, allocations: 172.3 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2776, allocations: 384 / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.2776, allocations: 8.375 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.2777, allocations: 53.56 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2778, allocations: 4 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2778, allocations: 0 / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2778, allocations: 0 / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.367e-05/0.2778, allocations: 15.98 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.2782, allocations: 292.8 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.637e-05/0.2783, allocations: 18.52 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.2783, allocations: 8.922 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.2783, allocations: 0 / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.2784, allocations: 30.56 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 2.434e-06/0.2784, allocations: 4 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001477/0.2785, allocations: 37.7 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.2786, allocations: 51.41 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2787, allocations: 141.7 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.2787, allocations: 25.7 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.2788, allocations: 96.08 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.2788, allocations: 0 / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.2789, allocations: 33.59 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.279, allocations: 322.9 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.279, allocations: 15.92 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.2791, allocations: 8 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.2791, allocations: 16.86 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2791, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001276/0.2793, allocations: 65.67 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2793, allocations: 4 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2793, allocations: 0 / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2793, allocations: 0 / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.577e-05/0.2793, allocations: 7.938 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2793, allocations: 4 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.2794, allocations: 11.83 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.2794, allocations: 4 kB / 1.169 GB, free: 4.219 MB / 0.92 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 7.812e-05/0.2795, allocations: 109.8 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.2795, allocations: 4 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.2795, allocations: 11.52 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2796, allocations: 192 / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2796, allocations: 4 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2796, allocations: 3.938 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.2799, allocations: 366.7 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2799, allocations: 3.938 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-06/0.2799, allocations: 0 / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2799, allocations: 0 / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2799, allocations: 3.938 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2799, allocations: 0 / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.28, allocations: 4 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.833e-05/0.28, allocations: 53.17 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.2801, allocations: 93.05 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.2801, allocations: 3.938 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.445e-05/0.2801, allocations: 0 / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.2802, allocations: 3.984 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.2802, allocations: 4 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.43e-05/0.2802, allocations: 99.27 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2802, allocations: 0 / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002253/0.2805, allocations: 20.02 kB / 1.17 GB, free: 3.336 MB / 0.92 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.0004855/0.281, allocations: 0.6274 MB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.787e-05/0.2811, allocations: 27.97 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2811, allocations: 0 / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.2811, allocations: 3.938 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.2812, allocations: 8 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.2816, allocations: 142.5 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.2818, allocations: 0.6807 MB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.138e-05/0.2819, allocations: 8.438 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.2819, allocations: 23.42 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of SimCode: time 2.81e-07/0.2819, allocations: 0 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.2987, allocations: 1.592 MB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/7.958, allocations: 10.34 kB / 1.173 GB, free: 236 kB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches