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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006471/0.006471, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001638/0.001638, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 61.83 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2236, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001456/0.2251, allocations: 0.5262 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003802/0.2255, allocations: 144.5 kB / 1.088 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.2255, allocations: 3.938 kB / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.2255, allocations: 7.938 kB / 1.088 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.2257, allocations: 11.94 kB / 1.088 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.551e-05/0.2258, allocations: 23.91 kB / 1.088 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.635e-05/0.2259, allocations: 27.86 kB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.2259, allocations: 4 kB / 1.088 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.544e-05/0.226, allocations: 19.91 kB / 1.088 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.2263, allocations: 315.5 kB / 1.088 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.2263, allocations: 0 / 1.088 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.449e-05/0.2264, allocations: 16 kB / 1.089 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.2264, allocations: 15.92 kB / 1.089 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.2264, allocations: 19.86 kB / 1.089 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.226e-05/0.2265, allocations: 31.91 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2265, allocations: 0 / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2265, allocations: 0 / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.2265, allocations: 0 / 1.089 GB, free: 0.8711 MB / 0.8419 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.0002975/0.2268, allocations: 350.2 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2269, allocations: 8.031 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.2269, allocations: 38.69 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.2269, allocations: 4.938 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2271, allocations: 181.1 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2271, allocations: 8.312 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.2271, allocations: 384 / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.2272, allocations: 49.62 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.2272, allocations: 0 / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.2272, allocations: 0 / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2272, allocations: 3.938 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.785e-05/0.2273, allocations: 27.92 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.2276, allocations: 276.8 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.807e-05/0.2277, allocations: 22.58 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.2277, allocations: 4.859 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.2277, allocations: 0 / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.2277, allocations: 34.62 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.2277, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001215/0.2279, allocations: 37.64 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.2279, allocations: 55.53 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.228, allocations: 137.7 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.228, allocations: 25.7 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.2281, allocations: 99.97 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.2281, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.2281, allocations: 25.7 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.2282, allocations: 322.8 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.2282, allocations: 11.98 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.2283, allocations: 12 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.2283, allocations: 16.86 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2283, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001103/0.2284, allocations: 69.52 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2285, allocations: 8 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2285, allocations: 0 / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2285, allocations: 0 / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.806e-05/0.2285, allocations: 0 / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.2285, allocations: 0 / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.2286, allocations: 12.03 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.2286, allocations: 8 kB / 1.09 GB, free: 14.83 MB / 0.8575 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 5.984e-05/0.2286, allocations: 113.8 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.2287, allocations: 4 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.2287, allocations: 15.45 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2287, allocations: 0 / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2287, allocations: 3.984 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2287, allocations: 3.938 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.229, allocations: 358.7 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.229, allocations: 4.031 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-06/0.229, allocations: 4 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.229, allocations: 0 / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.229, allocations: 3.938 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.229, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.229, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.999e-05/0.2291, allocations: 64.98 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2291, allocations: 89.06 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.2291, allocations: 3.938 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.2292, allocations: 4 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.2292, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.2292, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.686e-05/0.2292, allocations: 105.4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2292, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001982/0.2295, allocations: 11.98 kB / 1.091 GB, free: 13.95 MB / 0.8575 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.000417/0.2299, allocations: 0.6155 MB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.491e-05/0.23, allocations: 23.88 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.23, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.888e-06/0.23, allocations: 8.031 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.2301, allocations: 9.969 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.2304, allocations: 153.8 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.2307, allocations: 0.6807 MB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.2307, allocations: 12.03 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.2307, allocations: 15.42 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of SimCode: time 1.493e-06/0.2307, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.279/0.5098, allocations: 1.612 MB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/8.106, allocations: 5.766 kB / 1.094 GB, free: 10.82 MB / 0.8575 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