Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 107.2 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 196.6 kB / 19.41 MB, free: 3.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.162/3.162, allocations: 497.2 MB / 0.7811 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 68.95 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3568, allocations: 173.9 MB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001854/0.3587, allocations: 0.5381 MB / 1.304 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004486/0.3591, allocations: 152.5 kB / 1.305 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.3592, allocations: 0 / 1.305 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.3592, allocations: 3.938 kB / 1.305 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.3594, allocations: 11.92 kB / 1.305 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.011e-05/0.3594, allocations: 27.92 kB / 1.305 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.997e-05/0.3595, allocations: 27.91 kB / 1.305 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.3596, allocations: 3.938 kB / 1.305 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.336e-05/0.3596, allocations: 8 kB / 1.305 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.36, allocations: 329.6 kB / 1.305 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.36, allocations: 4 kB / 1.305 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.176e-05/0.36, allocations: 15.98 kB / 1.305 GB, free: 496 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.3601, allocations: 4 kB / 1.305 GB, free: 492 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.3601, allocations: 15.88 kB / 1.305 GB, free: 476 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.3602, allocations: 40.05 kB / 1.305 GB, free: 436 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3602, allocations: 3.938 kB / 1.305 GB, free: 432 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3602, allocations: 0 / 1.305 GB, free: 432 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3602, allocations: 0 / 1.305 GB, free: 432 kB / 0.9981 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.0003887/0.3606, allocations: 355.2 kB / 1.305 GB, free: 28 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3606, allocations: 12.03 kB / 1.305 GB, free: 16 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.064e-05/0.3607, allocations: 34.75 kB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.3607, allocations: 0.9375 kB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.3609, allocations: 184.2 kB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3609, allocations: 4.375 kB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.3609, allocations: 4.359 kB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3611, allocations: 53.61 kB / 1.306 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3611, allocations: 4 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3611, allocations: 4 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3611, allocations: 0 / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.805e-05/0.3611, allocations: 15.98 kB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.3615, allocations: 276.8 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.148e-05/0.3615, allocations: 18.58 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.3616, allocations: 12.91 kB / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.3616, allocations: 0 / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3616, allocations: 34.56 kB / 1.306 GB, free: 15.26 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.3616, allocations: 0 / 1.306 GB, free: 15.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.3617, allocations: 41.59 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3618, allocations: 51.41 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.3619, allocations: 137.8 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.3619, allocations: 25.7 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.362, allocations: 100 kB / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.362, allocations: 4.062 kB / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.362, allocations: 29.7 kB / 1.306 GB, free: 14.83 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3622, allocations: 322.7 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-05/0.3622, allocations: 11.98 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.419e-05/0.3622, allocations: 8 kB / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.765e-05/0.3623, allocations: 16.86 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3623, allocations: 0 / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001164/0.3624, allocations: 69.58 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3624, allocations: 4 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3624, allocations: 7.984 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3624, allocations: 0 / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.397e-05/0.3625, allocations: 4 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3625, allocations: 3.938 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.3625, allocations: 3.938 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3625, allocations: 4.188 kB / 1.307 GB, free: 14.37 MB / 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 8.608e-05/0.3626, allocations: 113.8 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.3626, allocations: 7.953 kB / 1.307 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.3626, allocations: 11.52 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3626, allocations: 4 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3626, allocations: 0 / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3626, allocations: 3.938 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.363, allocations: 354.7 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.363, allocations: 3.984 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-06/0.363, allocations: 0 / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.363, allocations: 0 / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.363, allocations: 7.938 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.363, allocations: 0 / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.363, allocations: 8.031 kB / 1.307 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.067e-05/0.363, allocations: 57.03 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.3631, allocations: 81.11 kB / 1.307 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3631, allocations: 7.922 kB / 1.307 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.3631, allocations: 0 / 1.307 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.3631, allocations: 0 / 1.307 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.3631, allocations: 4 kB / 1.307 GB, free: 13.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.083e-05/0.3632, allocations: 106 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3632, allocations: 0 / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002093/0.3634, allocations: 19.94 kB / 1.308 GB, free: 13.48 MB / 1.014 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.0005465/0.364, allocations: 0.6217 MB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.355e-05/0.3641, allocations: 27.86 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3641, allocations: 3.938 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.3641, allocations: 4 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.3642, allocations: 2.031 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.3646, allocations: 158.3 kB / 1.308 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.3649, allocations: 0.6846 MB / 1.309 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.798e-05/0.3649, allocations: 8.125 kB / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.365, allocations: 15.42 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.365, allocations: 4 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.3882, allocations: 1.628 MB / 1.311 GB, free: 10.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.559, allocations: 0 / 1.311 GB, free: 10.35 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.269504072144628]