Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 216.5 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.75/2.75, allocations: 476.8 MB / 0.7715 GB, free: 3.844 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_11_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_11_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 62.86 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3177, allocations: 170 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001846/0.3196, allocations: 0.5337 MB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00046/0.32, allocations: 156.2 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.3201, allocations: 0 / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.3201, allocations: 0 / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.3203, allocations: 11.88 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.656e-05/0.3204, allocations: 23.98 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.953e-05/0.3204, allocations: 31.84 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.3205, allocations: 0 / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.772e-05/0.3205, allocations: 15.92 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.3209, allocations: 320.1 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.321, allocations: 4 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.321, allocations: 12 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.321, allocations: 7.938 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.3211, allocations: 15.92 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.3212, allocations: 33.3 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3212, allocations: 0 / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3212, allocations: 3.938 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3212, allocations: 0 / 1.285 GB, free: 9.457 MB / 0.9825 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.0003586/0.3215, allocations: 282 kB / 1.285 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3216, allocations: 11.89 kB / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.748e-05/0.3216, allocations: 8.188 kB / 1.285 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.3216, allocations: 38.75 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.3217, allocations: 4.891 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.3218, allocations: 114.5 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.3218, allocations: 4.375 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.3218, allocations: 8.109 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3219, allocations: 49.69 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.322, allocations: 0 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.322, allocations: 0 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.322, allocations: 0 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.344e-05/0.322, allocations: 23.92 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.3224, allocations: 240 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.799e-05/0.3224, allocations: 26.58 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.3224, allocations: 4.859 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.3225, allocations: 3.938 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3225, allocations: 34.62 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.3225, allocations: 0 / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000151/0.3226, allocations: 45.58 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3227, allocations: 51.41 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.3228, allocations: 141.3 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3228, allocations: 29.7 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.3229, allocations: 100.2 kB / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-06/0.3229, allocations: 3.938 kB / 1.286 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.3229, allocations: 25.7 kB / 1.286 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3231, allocations: 318.8 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/0.3231, allocations: 8 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-05/0.3231, allocations: 11.98 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.3232, allocations: 20.8 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3232, allocations: 7.938 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001171/0.3233, allocations: 61.64 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3233, allocations: 4 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3233, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3233, allocations: 4 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.071e-05/0.3234, allocations: 4.188 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3234, allocations: 0 / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.3234, allocations: 11.92 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3234, allocations: 4 kB / 1.287 GB, free: 7.594 MB / 0.9825 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.361e-05/0.3235, allocations: 113.8 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.3235, allocations: 7.891 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.3235, allocations: 7.469 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.3235, allocations: 0 / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3235, allocations: 0 / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3235, allocations: 7.938 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.3238, allocations: 325.8 kB / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3238, allocations: 0 / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-06/0.3238, allocations: 0 / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3238, allocations: 4 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3238, allocations: 3.938 kB / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3238, allocations: 0 / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3238, allocations: 0 / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.917e-05/0.3239, allocations: 65.03 kB / 1.287 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.3239, allocations: 7.984 kB / 1.287 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.324, allocations: 8 kB / 1.287 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.307e-05/0.324, allocations: 0 / 1.287 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.324, allocations: 0 / 1.287 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-06/0.324, allocations: 0 / 1.287 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.838e-05/0.3241, allocations: 107.2 kB / 1.287 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3241, allocations: 0 / 1.287 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002084/0.3243, allocations: 23.92 kB / 1.287 GB, free: 6.844 MB / 0.9825 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.0005851/0.3249, allocations: 0.6289 MB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.914e-05/0.325, allocations: 16 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.325, allocations: 7.938 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.953e-06/0.325, allocations: 0 / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.3251, allocations: 0 / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.3255, allocations: 150.6 kB / 1.288 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.781e-05/0.3255, allocations: 67.97 kB / 1.288 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.88e-05/0.3256, allocations: 12.19 kB / 1.288 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.3256, allocations: 15.42 kB / 1.288 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3256, allocations: 3.938 kB / 1.288 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.3482, allocations: 1.804 MB / 1.29 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.86, allocations: 9.422 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.73909798101522]