Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001915/0.001915, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002188/0.002188, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.384/1.384, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 443.4 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.89 kB / 1.059 GB, free: 412 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.002032/0.3095, allocations: 0.535 MB / 1.217 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005078/0.31, allocations: 160 kB / 1.217 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.31, allocations: 0 / 1.217 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.31, allocations: 3.938 kB / 1.217 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.3102, allocations: 7.938 kB / 1.217 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.544e-05/0.3103, allocations: 27.91 kB / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.442e-05/0.3104, allocations: 23.92 kB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.797e-05/0.3105, allocations: 4 kB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.562e-05/0.3105, allocations: 15.98 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.3109, allocations: 323.3 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3109, allocations: 4 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.239e-05/0.311, allocations: 12 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.311, allocations: 8 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.311, allocations: 15.86 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.3112, allocations: 39.77 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3112, allocations: 0 / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3112, allocations: 0 / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3112, allocations: 4 kB / 1.217 GB, free: 14.21 MB / 0.9669 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.0004126/0.3116, allocations: 357.3 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3116, allocations: 8.031 kB / 1.218 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.3117, allocations: 12.83 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3118, allocations: 172.3 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3118, allocations: 384 / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.3118, allocations: 4.375 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.312, allocations: 57.8 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.312, allocations: 0 / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.312, allocations: 7.938 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.312, allocations: 4 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.882e-05/0.312, allocations: 15.98 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.3124, allocations: 272.9 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.3125, allocations: 18.58 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.3125, allocations: 4.859 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.3125, allocations: 8.047 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.3125, allocations: 38.5 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3125, allocations: 0 / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.000152/0.3127, allocations: 33.7 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3127, allocations: 51.41 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3129, allocations: 139.3 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3129, allocations: 25.7 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.3129, allocations: 96.08 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-06/0.3129, allocations: 8.125 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.313, allocations: 29.66 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3131, allocations: 322.7 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.3131, allocations: 8 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.3132, allocations: 11.98 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.258e-05/0.3132, allocations: 20.8 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3132, allocations: 0 / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001207/0.3133, allocations: 61.69 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3133, allocations: 5.562 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3134, allocations: 4 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3134, allocations: 0 / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.663e-05/0.3134, allocations: 7.984 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3134, allocations: 0 / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.3134, allocations: 7.891 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3134, allocations: 7.938 kB / 1.219 GB, free: 12.21 MB / 0.9669 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.202e-05/0.3135, allocations: 117.8 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.3135, allocations: 4 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.3136, allocations: 7.516 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3136, allocations: 8.125 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3136, allocations: 4 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3136, allocations: 4 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.3139, allocations: 362.7 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3139, allocations: 0 / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-06/0.3139, allocations: 3.984 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3139, allocations: 0 / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.3139, allocations: 0 / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3139, allocations: 7.969 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3139, allocations: 3.984 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.47e-05/0.314, allocations: 61.08 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.314, allocations: 85.05 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3141, allocations: 7.984 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.602e-05/0.3141, allocations: 3.938 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.3141, allocations: 0 / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.3141, allocations: 32 / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.095e-05/0.3142, allocations: 108.7 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3142, allocations: 0 / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002029/0.3144, allocations: 15.94 kB / 1.22 GB, free: 11.31 MB / 0.9669 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.0003074/0.3147, allocations: 123.8 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.978e-05/0.3148, allocations: 23.94 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3148, allocations: 0 / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.098e-05/0.3148, allocations: 7.984 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.3149, allocations: 0 / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.3152, allocations: 118 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.3155, allocations: 0.6846 MB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.3155, allocations: 12.38 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.3155, allocations: 7.5 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.3155, allocations: 4 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of Templates: time 0.002899/0.3184, allocations: 0.5476 MB / 1.221 GB, free: 9.738 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.898534459061921]