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.006941/0.006941, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001781/0.001781, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.337/2.337, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 60.03 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8028/0.804, allocations: 151.6 MB / 1.166 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001626/0.8057, allocations: 0.5275 MB / 1.167 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.8061, allocations: 152 kB / 1.167 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.8061, allocations: 0 / 1.167 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.8062, allocations: 3.938 kB / 1.167 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.8064, allocations: 7.938 kB / 1.167 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.56e-05/0.8064, allocations: 23.91 kB / 1.167 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.8065, allocations: 27.86 kB / 1.167 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.8065, allocations: 7.984 kB / 1.167 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/0.8066, allocations: 15.92 kB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.8069, allocations: 318 kB / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.8069, allocations: 4 kB / 1.167 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.547e-05/0.807, allocations: 19.92 kB / 1.167 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.807, allocations: 7.938 kB / 1.167 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.8071, allocations: 11.92 kB / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.761e-05/0.8072, allocations: 35.84 kB / 1.167 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8072, allocations: 0 / 1.167 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8072, allocations: 0 / 1.167 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.8072, allocations: 4 kB / 1.167 GB, free: 2.781 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.0003376/0.8075, allocations: 357.6 kB / 1.168 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.8076, allocations: 8.031 kB / 1.168 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.8076, allocations: 30.75 kB / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.8076, allocations: 4.938 kB / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.8078, allocations: 176.3 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.8078, allocations: 4.375 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.8078, allocations: 4.375 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.8079, allocations: 45.62 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.8079, allocations: 3.938 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.8079, allocations: 4 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.808, allocations: 7.938 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.808, allocations: 15.98 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.8083, allocations: 280.8 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.888e-05/0.8084, allocations: 14.58 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.8084, allocations: 8.922 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.8084, allocations: 0 / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.8085, allocations: 38.5 kB / 1.168 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 2.364e-06/0.8085, allocations: 0 / 1.168 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001294/0.8086, allocations: 45.55 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.8086, allocations: 51.41 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.8088, allocations: 141.8 kB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.8088, allocations: 25.7 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.8088, allocations: 88.05 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.8088, allocations: 4.125 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.8089, allocations: 33.61 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.809, allocations: 318.8 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.809, allocations: 15.98 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.8091, allocations: 4 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.8091, allocations: 24.78 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.8091, allocations: 0 / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001018/0.8092, allocations: 61.69 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.8092, allocations: 4 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.8092, allocations: 4 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.8093, allocations: 0 / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.122e-05/0.8093, allocations: 4.188 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8093, allocations: 4 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.8093, allocations: 11.78 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.8093, allocations: 8 kB / 1.169 GB, free: 0.7344 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 7.422e-05/0.8094, allocations: 113.8 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.8095, allocations: 4 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.8095, allocations: 7.531 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.8095, allocations: 4 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8095, allocations: 4 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.8095, allocations: 3.938 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.8098, allocations: 358.7 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8098, allocations: 0 / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-06/0.8098, allocations: 0 / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.8098, allocations: 0 / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.8098, allocations: 3.938 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.8098, allocations: 0 / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.8098, allocations: 4.031 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.423e-05/0.8099, allocations: 67.52 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.81, allocations: 88.95 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.81, allocations: 3.938 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.318e-05/0.81, allocations: 3.938 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.81, allocations: 3.984 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.81, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.393e-05/0.8101, allocations: 108.6 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8101, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002027/0.8103, allocations: 11.98 kB / 1.17 GB, free: 15.85 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.0004722/0.8108, allocations: 0.6261 MB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.777e-05/0.8109, allocations: 19.94 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8109, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.812e-06/0.8109, allocations: 4 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.8111, allocations: 10.33 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.8114, allocations: 154.4 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.8116, allocations: 0.6846 MB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.8117, allocations: 12.36 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.8117, allocations: 15.44 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8117, allocations: 0 / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04833/0.8601, allocations: 1.601 MB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.99, allocations: 14.33 kB / 1.173 GB, free: 12.73 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=50 --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