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.0008406/0.0008406, allocations: 90.83 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.005046/0.005046, allocations: 170.4 kB / 16.26 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.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.146/2.146, allocations: 390.9 MB / 0.6664 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003316, allocations: 8 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5709/0.5713, allocations: 142.4 MB / 0.9551 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0005506/0.5719, allocations: 267.9 kB / 0.9554 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003707/0.5722, allocations: 151.3 kB / 0.9555 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.278e-05/0.5723, allocations: 0 / 0.9555 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.5723, allocations: 0 / 0.9555 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.5724, allocations: 5.281 kB / 0.9556 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.42e-05/0.5725, allocations: 19.98 kB / 0.9556 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.678e-05/0.5726, allocations: 30.83 kB / 0.9556 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.5726, allocations: 3.125 kB / 0.9556 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.5726, allocations: 12.67 kB / 0.9556 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.573, allocations: 327.1 kB / 0.9559 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.573, allocations: 5.5 kB / 0.9559 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.021e-05/0.5731, allocations: 12.78 kB / 0.9559 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.5731, allocations: 5.656 kB / 0.956 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.5731, allocations: 44.8 kB / 0.956 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.61e-05/0.5732, allocations: 36.09 kB / 0.956 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5732, allocations: 0 / 0.956 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5732, allocations: 0 / 0.956 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.5732, allocations: 0 / 0.956 GB, free: 7.168 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.0002205/0.5735, allocations: 346.4 kB / 0.9564 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.5735, allocations: 17.12 kB / 0.9564 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.198e-05/0.5735, allocations: 32.28 kB / 0.9564 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.5736, allocations: 3.812 kB / 0.9564 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.094e-05/0.5736, allocations: 170.9 kB / 0.9566 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.5736, allocations: 1.656 kB / 0.9566 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.5737, allocations: 11.12 kB / 0.9566 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.5738, allocations: 50.61 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5738, allocations: 1.094 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.5738, allocations: 0 / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.5738, allocations: 1.125 kB / 0.9566 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.328e-05/0.5739, allocations: 21.95 kB / 0.9567 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.5741, allocations: 278.6 kB / 0.9569 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.062e-05/0.5742, allocations: 16.8 kB / 0.9569 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.5742, allocations: 6.016 kB / 0.9569 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.5742, allocations: 5.047 kB / 0.9569 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.5742, allocations: 35.75 kB / 0.957 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.5742, allocations: 4 kB / 0.957 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.5743, allocations: 40.27 kB / 0.957 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.5744, allocations: 51.41 kB / 0.9571 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.5745, allocations: 141.4 kB / 0.9572 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.5745, allocations: 25.7 kB / 0.9572 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.5745, allocations: 95.28 kB / 0.9573 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.5746, allocations: 1 kB / 0.9573 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.5746, allocations: 15.94 kB / 0.9573 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.5746, allocations: 325.1 kB / 0.9576 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.5747, allocations: 9.688 kB / 0.9577 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.5747, allocations: 10.91 kB / 0.9577 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.218e-05/0.5747, allocations: 20.69 kB / 0.9577 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5747, allocations: 0 / 0.9577 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.48e-05/0.5748, allocations: 66.31 kB / 0.9578 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5748, allocations: 5.812 kB / 0.9578 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5749, allocations: 0 / 0.9578 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.5749, allocations: 1.312 kB / 0.9578 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.866e-05/0.5749, allocations: 1.281 kB / 0.9578 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.5749, allocations: 4 kB / 0.9578 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.565e-05/0.5749, allocations: 10.03 kB / 0.9578 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.5749, allocations: 2.562 kB / 0.9578 GB, free: 5.312 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.797e-05/0.575, allocations: 115.9 kB / 0.9579 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.575, allocations: 10.34 kB / 0.9579 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.5751, allocations: 8.594 kB / 0.9579 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5751, allocations: 1.094 kB / 0.9579 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5751, allocations: 0 / 0.9579 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5751, allocations: 3.938 kB / 0.9579 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.5753, allocations: 362.9 kB / 0.9583 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5753, allocations: 5.25 kB / 0.9583 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-06/0.5753, allocations: 0 / 0.9583 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.5753, allocations: 0 / 0.9583 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.5753, allocations: 5.188 kB / 0.9583 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.5753, allocations: 0 / 0.9583 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5753, allocations: 0 / 0.9583 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.152e-05/0.5754, allocations: 72.88 kB / 0.9583 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.5754, allocations: 95.25 kB / 0.9584 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.5754, allocations: 5.156 kB / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.271e-05/0.5754, allocations: 0 / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.5755, allocations: 2.062 kB / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.5755, allocations: 0 / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.5755, allocations: 103.5 kB / 0.9585 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5755, allocations: 0 / 0.9585 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002252/0.5757, allocations: 17.78 kB / 0.9585 GB, free: 4.469 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.0003463/0.5761, allocations: 0.62 MB / 0.9592 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.163e-05/0.5762, allocations: 30.06 kB / 0.9592 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5762, allocations: 0 / 0.9592 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-06/0.5762, allocations: 2.438 kB / 0.9592 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.5764, allocations: 5.438 kB / 0.9592 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.5766, allocations: 157 kB / 0.9593 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.5768, allocations: 0.6844 MB / 0.96 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.5768, allocations: 13.12 kB / 0.96 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.5768, allocations: 17.83 kB / 0.96 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.5768, allocations: 0 / 0.96 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.5949, allocations: 1.346 MB / 0.9614 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.5952, allocations: 250.4 kB / 0.9616 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.327, allocations: 5.312 kB / 0.9616 GB, free: 2.027 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