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.0008405/0.0008405, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000843/0.000843, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8907/0.8907, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.676/1.676, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_11_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.675e-05, allocations: 9.094 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.002204/0.002231, allocations: 0.5363 MB / 0.951 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004997/0.002731, allocations: 148 kB / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.002763, allocations: 0 / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.002788, allocations: 3.938 kB / 0.9511 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.003029, allocations: 15.92 kB / 0.9511 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 8.557e-05/0.003115, allocations: 27.86 kB / 0.9512 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.49e-05/0.00319, allocations: 27.91 kB / 0.9512 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.003243, allocations: 0 / 0.9512 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.003291, allocations: 11.98 kB / 0.9512 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.003702, allocations: 334.9 kB / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.003721, allocations: 0 / 0.9515 GB, free: 2.449 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.003798, allocations: 19.98 kB / 0.9515 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.003813, allocations: 0 / 0.9515 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.003838, allocations: 15.92 kB / 0.9516 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.003974, allocations: 39.83 kB / 0.9516 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.003978, allocations: 0 / 0.9516 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003979, allocations: 0 / 0.9516 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.003984, allocations: 3.938 kB / 0.9516 GB, free: 2.371 MB / 0.9011 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.0003538/0.004338, allocations: 274.2 kB / 0.9519 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.004389, allocations: 12.03 kB / 0.9519 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.004431, allocations: 30.75 kB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.004467, allocations: 12.88 kB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.004577, allocations: 113.7 kB / 0.952 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.004598, allocations: 8.312 kB / 0.952 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.004609, allocations: 4.375 kB / 0.952 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.004757, allocations: 50.23 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.004768, allocations: 4.188 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.00478, allocations: 3.938 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.004786, allocations: 0 / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.532e-05/0.004851, allocations: 23.98 kB / 0.9521 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.005252, allocations: 247.9 kB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.149e-05/0.005303, allocations: 22.45 kB / 0.9524 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.161e-05/0.005325, allocations: 8.859 kB / 0.9524 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.005335, allocations: 4.062 kB / 0.9524 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.005361, allocations: 34.56 kB / 0.9524 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.005363, allocations: 0 / 0.9524 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001689/0.005531, allocations: 37.7 kB / 0.9525 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.005569, allocations: 51.41 kB / 0.9525 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.005709, allocations: 145.7 kB / 0.9526 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.005721, allocations: 29.64 kB / 0.9527 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.00578, allocations: 96.03 kB / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.125e-06/0.005788, allocations: 3.953 kB / 0.9528 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.005838, allocations: 25.7 kB / 0.9528 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.005948, allocations: 318.8 kB / 0.9531 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.005978, allocations: 20.11 kB / 0.9531 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.006004, allocations: 8 kB / 0.9531 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.826e-05/0.006052, allocations: 20.84 kB / 0.9531 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006054, allocations: 0 / 0.9531 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001276/0.006182, allocations: 61.64 kB / 0.9532 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.006199, allocations: 9.969 kB / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006204, allocations: 0 / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.006221, allocations: 4 kB / 0.9532 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.339e-05/0.006244, allocations: 3.938 kB / 0.9532 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.00625, allocations: 0 / 0.9532 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.00628, allocations: 4 kB / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.00629, allocations: 7.984 kB / 0.9532 GB, free: 0.5117 MB / 0.9011 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.831e-05/0.006369, allocations: 121.8 kB / 0.9533 GB, free: 392 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.006399, allocations: 3.953 kB / 0.9534 GB, free: 388 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.006424, allocations: 11.47 kB / 0.9534 GB, free: 372 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006426, allocations: 0 / 0.9534 GB, free: 372 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.006431, allocations: 0 / 0.9534 GB, free: 372 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.006434, allocations: 192 / 0.9534 GB, free: 372 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.006756, allocations: 333.7 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.006758, allocations: 0 / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.006766, allocations: 7.984 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.006769, allocations: 4.031 kB / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.006775, allocations: 0 / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.006777, allocations: 0 / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.006779, allocations: 0 / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.512e-05/0.006854, allocations: 61.03 kB / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.006865, allocations: 8 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.006878, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.006896, allocations: 3.984 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.00692, allocations: 7.875 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.006922, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.911e-05/0.006991, allocations: 110.3 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/0.006991, allocations: 4.031 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002886/0.00728, allocations: 12 kB / 0.9539 GB, free: 15.75 MB / 0.9167 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.0005379/0.007818, allocations: 0.6175 MB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.687e-05/0.007915, allocations: 23.98 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.007916, allocations: 4.031 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.007927, allocations: 3.938 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.008116, allocations: 18.31 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.008509, allocations: 146.4 kB / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.709e-05/0.008566, allocations: 67.34 kB / 0.9547 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.213e-05/0.008598, allocations: 8.125 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.008636, allocations: 16.48 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.008636, allocations: 0 / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.02572, allocations: 2.28 MB / 0.957 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.815/6.841, allocations: 11.22 kB / 0.957 GB, free: 12.62 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.79847880359739]