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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001152/0.001152, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 194 kB / 16.53 MB, free: 6.664 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 66.59 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2365, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001582/0.2381, allocations: 0.5223 MB / 1.053 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003721/0.2385, allocations: 160.1 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.2385, allocations: 3.938 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.2385, allocations: 3.938 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.2387, allocations: 7.938 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.014e-05/0.2387, allocations: 23.91 kB / 1.054 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.902e-05/0.2388, allocations: 23.92 kB / 1.054 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.2388, allocations: 4 kB / 1.054 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.2389, allocations: 15.92 kB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.2392, allocations: 312.1 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.2392, allocations: 4 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.831e-05/0.2392, allocations: 16 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.2393, allocations: 15.91 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.2393, allocations: 11.88 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.292e-05/0.2394, allocations: 35.89 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2394, allocations: 4 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2394, allocations: 0 / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2394, allocations: 4 kB / 1.054 GB, free: 7.176 MB / 0.8106 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.0002733/0.2397, allocations: 339.7 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.2397, allocations: 8.031 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.2398, allocations: 38.73 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.2398, allocations: 8.844 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2399, allocations: 176.2 kB / 1.055 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2399, allocations: 8.312 kB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.2399, allocations: 4.375 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.24, allocations: 49.61 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.24, allocations: 0 / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.2401, allocations: 0 / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2401, allocations: 4 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.2401, allocations: 19.98 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.2404, allocations: 280.8 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.158e-05/0.2404, allocations: 18.52 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.2405, allocations: 12.91 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-06/0.2405, allocations: 0 / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.2405, allocations: 30.56 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.2405, allocations: 0 / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001116/0.2406, allocations: 45.69 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.2406, allocations: 55.34 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.642e-05/0.2407, allocations: 139.8 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.2408, allocations: 25.7 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.2408, allocations: 95.97 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.32e-06/0.2408, allocations: 4 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.2409, allocations: 25.7 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.2409, allocations: 326.9 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.241, allocations: 12 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.241, allocations: 7.984 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.241, allocations: 16.86 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.241, allocations: 3.938 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001055/0.2411, allocations: 69.53 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.2412, allocations: 4 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2412, allocations: 0 / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2412, allocations: 0 / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.835e-05/0.2412, allocations: 4 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2412, allocations: 7.984 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.2413, allocations: 3.938 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.2413, allocations: 4 kB / 1.056 GB, free: 5.133 MB / 0.8106 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.692e-05/0.2413, allocations: 109.8 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.2414, allocations: 7.906 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.708e-05/0.2414, allocations: 11.47 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2414, allocations: 0 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2414, allocations: 0 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2414, allocations: 7.938 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.2416, allocations: 362.7 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2416, allocations: 192 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-06/0.2416, allocations: 4 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.2417, allocations: 0 / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.2417, allocations: 3.938 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2417, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2417, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.348e-05/0.2417, allocations: 69.06 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.2418, allocations: 77.11 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2418, allocations: 7.938 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.21e-05/0.2418, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.2418, allocations: 7.922 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-06/0.2418, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.518e-05/0.2419, allocations: 105.7 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2419, allocations: 0 / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001873/0.2421, allocations: 8 kB / 1.057 GB, free: 4.262 MB / 0.8106 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.0003896/0.2425, allocations: 0.6264 MB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.702e-05/0.2426, allocations: 31.89 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2426, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-06/0.2426, allocations: 4 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.2427, allocations: 4 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.243, allocations: 146.7 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.2432, allocations: 0.6885 MB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.2433, allocations: 8.375 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.2433, allocations: 11.44 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of SimCode: time 1.413e-06/0.2433, allocations: 4 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.402/1.645, allocations: 1.576 MB / 1.06 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.425/11.07, allocations: 7.844 kB / 1.06 GB, free: 1.156 MB / 0.8106 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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