Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00175/0.00175, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002083/0.002083, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.56/1.56, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.198/3.198, allocations: 0.49 GB / 0.7916 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_12_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",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.00322/0.00322, allocations: 71.66 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3361, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001682/0.3378, allocations: 0.5388 MB / 1.321 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004305/0.3382, allocations: 148.5 kB / 1.321 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.3382, allocations: 0 / 1.321 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.3382, allocations: 3.938 kB / 1.321 GB, free: 2.621 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.3384, allocations: 11.94 kB / 1.321 GB, free: 2.609 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.868e-05/0.3385, allocations: 27.91 kB / 1.321 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.545e-05/0.3386, allocations: 23.92 kB / 1.322 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.3386, allocations: 3.938 kB / 1.322 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.79e-05/0.3386, allocations: 19.91 kB / 1.322 GB, free: 2.535 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.339, allocations: 334.4 kB / 1.322 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.339, allocations: 0 / 1.322 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.52e-05/0.3391, allocations: 16 kB / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.3391, allocations: 3.984 kB / 1.322 GB, free: 2.207 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.3391, allocations: 19.86 kB / 1.322 GB, free: 2.188 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.3392, allocations: 32.12 kB / 1.322 GB, free: 2.156 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3392, allocations: 0 / 1.322 GB, free: 2.156 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3392, allocations: 0 / 1.322 GB, free: 2.156 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3392, allocations: 0 / 1.322 GB, free: 2.156 MB / 1.014 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.0004103/0.3397, allocations: 363.2 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3397, allocations: 11.97 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.3397, allocations: 30.75 kB / 1.322 GB, free: 1.703 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.3398, allocations: 8.891 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.3399, allocations: 180.2 kB / 1.322 GB, free: 1.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.3399, allocations: 384 / 1.322 GB, free: 1.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.3399, allocations: 4.375 kB / 1.322 GB, free: 1.477 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3401, allocations: 49.62 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3401, allocations: 0 / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.3401, allocations: 0 / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.3401, allocations: 7.984 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.093e-05/0.3401, allocations: 19.94 kB / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.3405, allocations: 272.9 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.298e-05/0.3405, allocations: 22.52 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.3405, allocations: 4.859 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-06/0.3405, allocations: 0 / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.3406, allocations: 38.62 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.3406, allocations: 0 / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.3407, allocations: 33.66 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.3407, allocations: 55.41 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3409, allocations: 145.7 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.3409, allocations: 25.7 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.341, allocations: 96.08 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-06/0.341, allocations: 3.938 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.341, allocations: 29.83 kB / 1.323 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3412, allocations: 322.8 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.3412, allocations: 7.984 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.3412, allocations: 16 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.3413, allocations: 20.84 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3413, allocations: 0 / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001167/0.3414, allocations: 61.64 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3414, allocations: 8 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3414, allocations: 0 / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3414, allocations: 3.938 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.857e-05/0.3414, allocations: 4 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3414, allocations: 0 / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.3415, allocations: 11.88 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.3415, allocations: 0 / 1.324 GB, free: 104 kB / 1.014 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 9.914e-05/0.3416, allocations: 117.8 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.3416, allocations: 3.953 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.3416, allocations: 7.531 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.3416, allocations: 0 / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3416, allocations: 0 / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3416, allocations: 7.938 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.3419, allocations: 362.7 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3419, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-06/0.3419, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3419, allocations: 4 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3419, allocations: 3.938 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3419, allocations: 192 / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3419, allocations: 4 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.311e-05/0.342, allocations: 65.11 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.3421, allocations: 81.06 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3421, allocations: 11.86 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.507e-05/0.3421, allocations: 4 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.3421, allocations: 4 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.3421, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.822e-05/0.3422, allocations: 105.6 kB / 1.324 GB, free: 15.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3422, allocations: 7.969 kB / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002087/0.3424, allocations: 15.94 kB / 1.324 GB, free: 15.2 MB / 1.029 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.0005338/0.3429, allocations: 0.6139 MB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.343, allocations: 19.94 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.343, allocations: 0 / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-06/0.3431, allocations: 7.922 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.3432, allocations: 7.938 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.3436, allocations: 146.5 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.3439, allocations: 0.6885 MB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.061e-05/0.3439, allocations: 12.11 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.3439, allocations: 15.44 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of SimCode: time 2.61e-07/0.3439, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.3677, allocations: 1.625 MB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.432, allocations: 0 / 1.328 GB, free: 12.07 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.064821995096281]