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.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.001564/0.001564, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001674/0.001674, allocations: 220 kB / 22.24 MB, free: 5.109 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.295/3.295, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002029/0.002029, allocations: 66.91 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3793, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0023/0.3816, allocations: 0.5466 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006507/0.3822, allocations: 160.5 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.3823, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.3823, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.3826, allocations: 11.88 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.3827, allocations: 23.97 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3828, allocations: 27.86 kB / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.312e-05/0.3829, allocations: 4 kB / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.3829, allocations: 11.98 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005294/0.3834, allocations: 323.6 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3834, allocations: 0 / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.97e-05/0.3835, allocations: 11.98 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.3836, allocations: 11.98 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.3836, allocations: 11.88 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.3838, allocations: 40.11 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.3838, allocations: 0 / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3838, allocations: 0 / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.3838, allocations: 0 / 1.364 GB, free: 12.95 MB / 1.061 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.0004974/0.3843, allocations: 290 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3843, allocations: 8.031 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.3844, allocations: 30.75 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.3844, allocations: 4.938 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3845, allocations: 114.4 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3845, allocations: 4.312 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.3846, allocations: 8.375 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3847, allocations: 53.61 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3847, allocations: 0 / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3847, allocations: 0 / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3847, allocations: 4 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.773e-05/0.3848, allocations: 19.92 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.3852, allocations: 252 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.832e-05/0.3852, allocations: 14.58 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.3853, allocations: 8.922 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.3853, allocations: 0 / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3853, allocations: 30.56 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.3853, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001733/0.3855, allocations: 49.59 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.3855, allocations: 51.41 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3857, allocations: 140.2 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.3857, allocations: 25.7 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.3858, allocations: 104 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.622e-06/0.3858, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.3859, allocations: 25.7 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.386, allocations: 326.7 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.386, allocations: 11.98 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.3861, allocations: 8 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.679e-05/0.3861, allocations: 28.91 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3861, allocations: 0 / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001221/0.3862, allocations: 61.64 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3863, allocations: 8 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3863, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3863, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.212e-05/0.3863, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3863, allocations: 4 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.3863, allocations: 3.938 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3863, allocations: 0 / 1.366 GB, free: 11.1 MB / 1.061 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.071e-05/0.3864, allocations: 121.8 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.3865, allocations: 7.953 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.3865, allocations: 15.33 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3865, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3865, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3865, allocations: 7.938 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.3868, allocations: 325.9 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3868, allocations: 192 / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.101e-05/0.3868, allocations: 7.984 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3868, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3868, allocations: 3.938 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3868, allocations: 4.031 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3869, allocations: 0 / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.772e-05/0.3869, allocations: 69.03 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.387, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.387, allocations: 3.938 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.387, allocations: 3.984 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.387, allocations: 4 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.387, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.373e-05/0.3871, allocations: 103.3 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3871, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002217/0.3873, allocations: 15.97 kB / 1.367 GB, free: 10.33 MB / 1.061 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.0006865/0.388, allocations: 0.6228 MB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.3881, allocations: 23.92 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3881, allocations: 0 / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.165e-06/0.3882, allocations: 0 / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.3883, allocations: 9.812 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.3888, allocations: 142.6 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.051e-05/0.3889, allocations: 67.34 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.754e-05/0.3889, allocations: 12.03 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.389, allocations: 19.42 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of SimCode: time 6.72e-07/0.389, allocations: 0 / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.4196, allocations: 2.152 MB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.79, allocations: 2.531 kB / 1.37 GB, free: 7.348 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 18.872180483303964]