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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001294/0.001294, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001313/0.001313, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.149/2.149, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5316/0.5329, allocations: 140.3 MB / 0.949 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001587/0.5346, allocations: 0.598 MB / 0.9496 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003763/0.535, allocations: 147.2 kB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.423e-05/0.535, allocations: 0 / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.535, allocations: 0 / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.5352, allocations: 10.86 kB / 0.9498 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.209e-05/0.5352, allocations: 23.3 kB / 0.9498 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.342e-05/0.5353, allocations: 22.66 kB / 0.9498 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.5353, allocations: 10.72 kB / 0.9498 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.5354, allocations: 9.375 kB / 0.9498 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.5357, allocations: 317.9 kB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.5357, allocations: 1.375 kB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.637e-05/0.5358, allocations: 20.23 kB / 0.9502 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.5358, allocations: 2.75 kB / 0.9502 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.5358, allocations: 18.61 kB / 0.9502 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.319e-05/0.5359, allocations: 36.22 kB / 0.9502 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.5359, allocations: 0 / 0.9502 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5359, allocations: 0 / 0.9502 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.5359, allocations: 0 / 0.9502 GB, free: 8.297 MB / 0.7169 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.0002483/0.5362, allocations: 355.2 kB / 0.9505 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.5362, allocations: 9.625 kB / 0.9506 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.5362, allocations: 38.75 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.5363, allocations: 11.59 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.372e-05/0.5364, allocations: 172.4 kB / 0.9508 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.5364, allocations: 1.75 kB / 0.9508 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.5364, allocations: 1.75 kB / 0.9508 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.5365, allocations: 51.25 kB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.5365, allocations: 0 / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.5365, allocations: 5.359 kB / 0.9508 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5365, allocations: 0 / 0.9508 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.5366, allocations: 18.94 kB / 0.9508 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.5368, allocations: 278.9 kB / 0.9511 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.875e-05/0.5369, allocations: 19.95 kB / 0.9511 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.5369, allocations: 6.234 kB / 0.9511 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.5369, allocations: 1.375 kB / 0.9511 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.5369, allocations: 30.56 kB / 0.9512 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.5369, allocations: 1.375 kB / 0.9512 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001169/0.5371, allocations: 44.42 kB / 0.9512 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.5371, allocations: 51.41 kB / 0.9513 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.5372, allocations: 141.1 kB / 0.9514 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-06/0.5372, allocations: 29.64 kB / 0.9514 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/0.5372, allocations: 98.7 kB / 0.9515 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.5372, allocations: 1.375 kB / 0.9515 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.5373, allocations: 25.67 kB / 0.9515 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.036e-05/0.5373, allocations: 321.3 kB / 0.9518 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.5373, allocations: 13.92 kB / 0.9519 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.981e-05/0.5374, allocations: 13.66 kB / 0.9519 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.006e-05/0.5374, allocations: 24.19 kB / 0.9519 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5374, allocations: 1.469 kB / 0.9519 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.117e-05/0.5375, allocations: 61.88 kB / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.5375, allocations: 5.969 kB / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.5375, allocations: 0 / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.5375, allocations: 1.531 kB / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-05/0.5375, allocations: 1.469 kB / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.5376, allocations: 192 / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.5376, allocations: 17.22 kB / 0.952 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.5376, allocations: 2.719 kB / 0.952 GB, free: 6.422 MB / 0.7169 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 4.021e-05/0.5376, allocations: 119.2 kB / 0.9521 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.5377, allocations: 6.625 kB / 0.9521 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.5377, allocations: 9.875 kB / 0.9521 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5377, allocations: 3.984 kB / 0.9521 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.5377, allocations: 0 / 0.9521 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5377, allocations: 4.781 kB / 0.9521 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.5379, allocations: 359.4 kB / 0.9525 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5379, allocations: 0 / 0.9525 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-06/0.5379, allocations: 0 / 0.9525 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.5379, allocations: 1.406 kB / 0.9525 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.5379, allocations: 3.938 kB / 0.9525 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5379, allocations: 0 / 0.9525 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5379, allocations: 1.5 kB / 0.9525 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.734e-05/0.538, allocations: 71.69 kB / 0.9525 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.538, allocations: 82.61 kB / 0.9526 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.538, allocations: 5.5 kB / 0.9526 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.169e-05/0.538, allocations: 0 / 0.9526 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.538, allocations: 1.375 kB / 0.9526 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.5381, allocations: 0 / 0.9526 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.5381, allocations: 113.1 kB / 0.9527 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5381, allocations: 0 / 0.9527 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002033/0.5383, allocations: 18.19 kB / 0.9528 GB, free: 5.586 MB / 0.7169 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.0003235/0.5386, allocations: 0.6184 MB / 0.9534 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.732e-05/0.5387, allocations: 24.81 kB / 0.9534 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5387, allocations: 1.25 kB / 0.9534 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.745e-06/0.5388, allocations: 5.203 kB / 0.9534 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.5389, allocations: 2.531 kB / 0.9534 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.5392, allocations: 149.2 kB / 0.9535 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.689e-05/0.5393, allocations: 0.6855 MB / 0.9542 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.5393, allocations: 11.86 kB / 0.9542 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.5393, allocations: 14.06 kB / 0.9542 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.5393, allocations: 0 / 0.9542 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8109/1.35, allocations: 1.454 MB / 0.9556 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/1.35, allocations: 242.1 kB / 0.9559 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/3.362, allocations: 3.938 kB / 0.9559 GB, free: 3.047 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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