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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006364/0.006364, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.00174/0.00174, allocations: 195 kB / 16.67 MB, free: 5.523 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.221/1.221, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.164/2.164, allocations: 437.1 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 64.11 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6055/0.6071, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001487/0.6087, allocations: 0.5282 MB / 1.167 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000365/0.609, allocations: 156.1 kB / 1.167 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.6091, allocations: 0 / 1.167 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.6091, allocations: 3.938 kB / 1.167 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.6093, allocations: 7.938 kB / 1.167 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.376e-05/0.6093, allocations: 27.91 kB / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.6094, allocations: 23.92 kB / 1.167 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.6094, allocations: 7.984 kB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.6095, allocations: 15.92 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.6098, allocations: 319.1 kB / 1.167 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.6098, allocations: 7.938 kB / 1.167 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.72e-05/0.6099, allocations: 8 kB / 1.167 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.6099, allocations: 11.92 kB / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.6099, allocations: 19.86 kB / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.367e-05/0.61, allocations: 30.58 kB / 1.167 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.61, allocations: 3.938 kB / 1.167 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.885e-06/0.61, allocations: 4 kB / 1.167 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.61, allocations: 0 / 1.167 GB, free: 2.652 MB / 0.8887 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.0003637/0.6104, allocations: 356.2 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.6105, allocations: 8.031 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.004e-05/0.6105, allocations: 30.75 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.292e-05/0.6105, allocations: 8.891 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.6107, allocations: 172.3 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.6107, allocations: 12.36 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-06/0.6107, allocations: 4.375 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.6108, allocations: 49.56 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.6108, allocations: 0 / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.6108, allocations: 3.984 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6108, allocations: 4 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.6109, allocations: 12 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.6112, allocations: 284.8 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.398e-05/0.6113, allocations: 18.58 kB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.6113, allocations: 8.922 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-06/0.6113, allocations: 0 / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.6113, allocations: 34.5 kB / 1.168 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.6113, allocations: 0 / 1.168 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001163/0.6114, allocations: 37.7 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.6115, allocations: 51.53 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.6116, allocations: 149.7 kB / 1.168 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.6117, allocations: 25.7 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.6117, allocations: 92.08 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-06/0.6117, allocations: 4 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.6118, allocations: 29.66 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6119, allocations: 318.8 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/0.6119, allocations: 15.98 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.612, allocations: 4 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.952e-05/0.612, allocations: 32.91 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.612, allocations: 0 / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001062/0.6121, allocations: 61.69 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.6121, allocations: 4 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.6122, allocations: 0 / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.6122, allocations: 0 / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-05/0.6122, allocations: 4 kB / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.6122, allocations: 3.938 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/0.6122, allocations: 11.83 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/0.6122, allocations: 4 kB / 1.169 GB, free: 0.6016 MB / 0.8887 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 8.124e-05/0.6123, allocations: 121.8 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.6124, allocations: 4 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.623e-05/0.6124, allocations: 3.531 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.6124, allocations: 0 / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.6124, allocations: 4 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.6124, allocations: 3.938 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.6127, allocations: 362.7 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.6127, allocations: 4.031 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.466e-06/0.6127, allocations: 0 / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.6127, allocations: 0 / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-06/0.6127, allocations: 7.875 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.6127, allocations: 0 / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6127, allocations: 3.938 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.639e-05/0.6128, allocations: 63.58 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/0.6129, allocations: 85.09 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.6129, allocations: 7.938 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.158e-05/0.613, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.613, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-06/0.613, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.004e-05/0.6131, allocations: 109.8 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6131, allocations: 0 / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001992/0.6133, allocations: 8 kB / 1.17 GB, free: 15.72 MB / 0.9044 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.0004932/0.6138, allocations: 0.6301 MB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.919e-05/0.6139, allocations: 23.94 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.6139, allocations: 0 / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-06/0.6139, allocations: 12.02 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.614, allocations: 7.938 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.6143, allocations: 146.4 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.6146, allocations: 0.6807 MB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.6146, allocations: 8.234 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.6147, allocations: 11.44 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.6147, allocations: 0 / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.034/1.648, allocations: 1.591 MB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.046/10.69, allocations: 21.56 kB / 1.173 GB, free: 12.6 MB / 0.9044 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=400 --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