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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009091/0.0009092, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005361/0.005361, allocations: 176.2 kB / 16.27 MB, free: 6.613 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.275/1.275, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003095, allocations: 8 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/0.5348, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.000604/0.5355, allocations: 252 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004194/0.5359, allocations: 152.2 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.536, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.536, allocations: 3.938 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.5361, allocations: 7.938 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.566e-05/0.5362, allocations: 23.97 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.146e-05/0.5363, allocations: 19.92 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.5363, allocations: 4 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.451e-05/0.5363, allocations: 11.92 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.5367, allocations: 322.4 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.5367, allocations: 4 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.632e-05/0.5368, allocations: 19.98 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.5368, allocations: 3.984 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.5368, allocations: 41.58 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.1e-05/0.5369, allocations: 35.89 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.537, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.537, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.537, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 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.0002782/0.5373, allocations: 349.5 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.5373, allocations: 12.03 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.5373, allocations: 34.73 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.5374, allocations: 8.938 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.5375, allocations: 168.3 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.5375, allocations: 8.312 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.5375, allocations: 384 / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.5376, allocations: 53.61 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.5376, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.5377, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.5377, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.5377, allocations: 20 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.538, allocations: 280.8 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.443e-05/0.5381, allocations: 22.52 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.5381, allocations: 4.859 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-06/0.5381, allocations: 3.938 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.5381, allocations: 34.62 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.5381, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000126/0.5382, allocations: 45.59 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.5383, allocations: 51.41 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.5384, allocations: 145.7 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.5384, allocations: 25.7 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.5385, allocations: 92.05 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-06/0.5385, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.5385, allocations: 21.7 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.5386, allocations: 318.8 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.599e-05/0.5386, allocations: 16.11 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/0.5386, allocations: 8 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/0.5387, allocations: 16.86 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5387, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.896e-05/0.5388, allocations: 65.59 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.5388, allocations: 4 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5388, allocations: 3.984 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.5388, allocations: 3.938 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.859e-05/0.5389, allocations: 7.938 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.5389, allocations: 0 / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.5389, allocations: 15.78 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.5389, allocations: 4 kB / 1.026 GB, free: 12.94 MB / 0.7794 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.089e-05/0.539, allocations: 110 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.539, allocations: 8 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.539, allocations: 11.52 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5391, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5391, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5391, allocations: 3.938 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.5393, allocations: 362.7 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.5393, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-06/0.5393, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5393, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.5393, allocations: 3.938 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.5393, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5394, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.774e-05/0.5394, allocations: 65.08 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.5395, allocations: 93 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.5395, allocations: 7.922 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.5395, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.5395, allocations: 7.984 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.5395, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.529e-05/0.5396, allocations: 108.8 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.342e-06/0.5396, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001961/0.5398, allocations: 11.94 kB / 1.027 GB, free: 12.05 MB / 0.7794 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.0004062/0.5402, allocations: 0.6199 MB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.766e-05/0.5403, allocations: 27.92 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5403, allocations: 4.031 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.786e-06/0.5403, allocations: 3.938 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.5405, allocations: 9.969 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.5408, allocations: 160.2 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.541, allocations: 0.6848 MB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.74e-05/0.541, allocations: 12.19 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.541, allocations: 15.44 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.541, allocations: 0 / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.5571, allocations: 1.343 MB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.5573, allocations: 251.9 kB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.298, allocations: 3.938 kB / 1.03 GB, free: 8.949 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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