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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.007731/0.007731, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.002101/0.002101, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.396/1.396, 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 12.0.0-master/package.mo): time 2.738/2.738, allocations: 482.4 MB / 0.7548 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2796, allocations: 162.2 MB / 1.241 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001596/0.2812, allocations: 0.539 MB / 1.242 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004224/0.2817, allocations: 148.4 kB / 1.242 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.2817, allocations: 0 / 1.242 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.2818, allocations: 3.938 kB / 1.242 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.2819, allocations: 11.86 kB / 1.242 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.415e-05/0.282, allocations: 27.91 kB / 1.242 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.2821, allocations: 27.86 kB / 1.242 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.2821, allocations: 12 kB / 1.242 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.2822, allocations: 11.94 kB / 1.242 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.2825, allocations: 314.1 kB / 1.242 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2825, allocations: 4 kB / 1.242 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.322e-05/0.2826, allocations: 12 kB / 1.242 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.2826, allocations: 7.984 kB / 1.242 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.2827, allocations: 15.86 kB / 1.243 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.2828, allocations: 40.05 kB / 1.243 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2828, allocations: 0 / 1.243 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2828, allocations: 4 kB / 1.243 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2828, allocations: 4 kB / 1.243 GB, free: 8.164 MB / 0.9669 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.0003547/0.2832, allocations: 351.2 kB / 1.243 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2832, allocations: 8.031 kB / 1.243 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.2832, allocations: 34.73 kB / 1.243 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.2833, allocations: 8.891 kB / 1.243 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2834, allocations: 172.3 kB / 1.243 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.2834, allocations: 384 / 1.243 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.2834, allocations: 8.375 kB / 1.243 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.2836, allocations: 53.61 kB / 1.243 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2836, allocations: 3.938 kB / 1.243 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.2836, allocations: 0 / 1.243 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2836, allocations: 4 kB / 1.243 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.683e-05/0.2837, allocations: 15.98 kB / 1.243 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.284, allocations: 280.8 kB / 1.243 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.018e-05/0.2841, allocations: 18.52 kB / 1.243 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.2841, allocations: 4.922 kB / 1.243 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.2841, allocations: 11.98 kB / 1.243 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.2841, allocations: 34.56 kB / 1.244 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.2841, allocations: 0 / 1.244 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001324/0.2843, allocations: 41.69 kB / 1.244 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.2843, allocations: 55.34 kB / 1.244 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.2845, allocations: 143.8 kB / 1.244 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.2845, allocations: 25.7 kB / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.2845, allocations: 92.22 kB / 1.244 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.735e-06/0.2846, allocations: 4 kB / 1.244 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.2846, allocations: 29.66 kB / 1.244 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2848, allocations: 322.8 kB / 1.244 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/0.2848, allocations: 12 kB / 1.244 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.255e-05/0.2848, allocations: 7.984 kB / 1.244 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.2849, allocations: 16.86 kB / 1.244 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2849, allocations: 0 / 1.244 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001194/0.285, allocations: 69.62 kB / 1.244 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.285, allocations: 4 kB / 1.244 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.285, allocations: 0 / 1.244 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.285, allocations: 0 / 1.244 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.008e-05/0.2851, allocations: 4 kB / 1.244 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2851, allocations: 3.984 kB / 1.244 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.895e-05/0.2851, allocations: 11.83 kB / 1.244 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.2851, allocations: 4 kB / 1.244 GB, free: 6.113 MB / 0.9669 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.627e-05/0.2852, allocations: 109.8 kB / 1.244 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.2852, allocations: 4 kB / 1.244 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.723e-05/0.2852, allocations: 7.531 kB / 1.244 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2853, allocations: 0 / 1.244 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2853, allocations: 4 kB / 1.244 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2853, allocations: 3.938 kB / 1.244 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.2856, allocations: 370.6 kB / 1.245 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2856, allocations: 0 / 1.245 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-06/0.2856, allocations: 0 / 1.245 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2856, allocations: 192 / 1.245 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.2856, allocations: 11.97 kB / 1.245 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2856, allocations: 0 / 1.245 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2856, allocations: 3.938 kB / 1.245 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.273e-05/0.2857, allocations: 61.12 kB / 1.245 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.2858, allocations: 81.06 kB / 1.245 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.2858, allocations: 7.938 kB / 1.245 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.197e-05/0.2858, allocations: 0 / 1.245 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.2858, allocations: 8.016 kB / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.2858, allocations: 7.875 kB / 1.245 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.246e-05/0.2859, allocations: 105.2 kB / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2859, allocations: 0 / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001965/0.2861, allocations: 8 kB / 1.245 GB, free: 5.227 MB / 0.9669 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.0005161/0.2866, allocations: 0.6149 MB / 1.246 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.625e-05/0.2868, allocations: 27.86 kB / 1.246 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2868, allocations: 0 / 1.246 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.2868, allocations: 4 kB / 1.246 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.2869, allocations: 7.938 kB / 1.246 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.2872, allocations: 156.7 kB / 1.246 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.2876, allocations: 0.6846 MB / 1.247 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.2876, allocations: 8.125 kB / 1.247 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.2876, allocations: 11.44 kB / 1.247 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.2876, allocations: 0 / 1.247 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.3083, allocations: 1.615 MB / 1.248 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.096, allocations: 0 / 1.248 GB, free: 2.117 MB / 0.9669 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 400 --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