Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001658, allocations: 105 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 191.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.459/2.459, allocations: 390.2 MB / 0.665 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 62.47 kB / 0.8127 GB, free: 33.39 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2931, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.002093/0.2952, allocations: 0.586 MB / 0.9503 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004548/0.2957, allocations: 154.2 kB / 0.9505 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.2957, allocations: 0 / 0.9505 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.2958, allocations: 0 / 0.9505 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.296, allocations: 15.92 kB / 0.9505 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.846e-05/0.2961, allocations: 15.98 kB / 0.9505 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.836e-05/0.2961, allocations: 27.86 kB / 0.9505 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.2962, allocations: 4 kB / 0.9505 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.2962, allocations: 23.84 kB / 0.9506 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.2967, allocations: 295.3 kB / 0.9508 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2967, allocations: 4 kB / 0.9509 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.911e-05/0.2968, allocations: 15.98 kB / 0.9509 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.2968, allocations: 11.92 kB / 0.9509 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.2968, allocations: 11.94 kB / 0.9509 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.809e-05/0.2969, allocations: 23.95 kB / 0.9509 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2969, allocations: 0 / 0.9509 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2969, allocations: 7.938 kB / 0.9509 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2969, allocations: 0 / 0.9509 GB, free: 8.094 MB / 0.7325 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.0003904/0.2973, allocations: 349.8 kB / 0.9513 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.2974, allocations: 11.89 kB / 0.9513 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.2974, allocations: 12.83 kB / 0.9513 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2976, allocations: 176.2 kB / 0.9514 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/0.2976, allocations: 4.375 kB / 0.9515 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.2977, allocations: 4.375 kB / 0.9515 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.2978, allocations: 53.8 kB / 0.9515 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.2978, allocations: 0 / 0.9515 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2978, allocations: 0 / 0.9515 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2978, allocations: 0 / 0.9515 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.201e-05/0.2979, allocations: 20 kB / 0.9515 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.2983, allocations: 268.9 kB / 0.9518 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.433e-05/0.2984, allocations: 30.45 kB / 0.9518 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.2984, allocations: 8.859 kB / 0.9518 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.2984, allocations: 0 / 0.9518 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.2984, allocations: 34.62 kB / 0.9519 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2984, allocations: 0 / 0.9519 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001487/0.2986, allocations: 45.53 kB / 0.9519 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2986, allocations: 55.41 kB / 0.9519 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.2988, allocations: 136.2 kB / 0.9521 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.2988, allocations: 25.7 kB / 0.9521 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.2989, allocations: 95.95 kB / 0.9522 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.2989, allocations: 3.938 kB / 0.9522 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.2989, allocations: 25.7 kB / 0.9522 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2991, allocations: 326.8 kB / 0.9525 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.2991, allocations: 8 kB / 0.9525 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.2991, allocations: 8 kB / 0.9525 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.2992, allocations: 24.84 kB / 0.9526 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2992, allocations: 0 / 0.9526 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001232/0.2993, allocations: 65.53 kB / 0.9526 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2993, allocations: 14.12 kB / 0.9526 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2993, allocations: 0 / 0.9526 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2993, allocations: 0 / 0.9526 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.337e-05/0.2994, allocations: 0 / 0.9526 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2994, allocations: 0 / 0.9526 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.2994, allocations: 4 kB / 0.9527 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2994, allocations: 11.92 kB / 0.9527 GB, free: 6.09 MB / 0.7325 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.576e-05/0.2995, allocations: 113.8 kB / 0.9528 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.2996, allocations: 7.906 kB / 0.9528 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.2996, allocations: 7.531 kB / 0.9528 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2996, allocations: 0 / 0.9528 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2996, allocations: 0 / 0.9528 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2996, allocations: 0 / 0.9528 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.2999, allocations: 362.6 kB / 0.9531 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2999, allocations: 0 / 0.9531 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-06/0.2999, allocations: 8.219 kB / 0.9531 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2999, allocations: 0 / 0.9531 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3, allocations: 4 kB / 0.9531 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3, allocations: 3.938 kB / 0.9531 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3, allocations: 0 / 0.9531 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.442e-05/0.3, allocations: 65.03 kB / 0.9532 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.3001, allocations: 81.09 kB / 0.9533 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3001, allocations: 0 / 0.9533 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.558e-05/0.3001, allocations: 11.97 kB / 0.9533 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.3002, allocations: 7.875 kB / 0.9533 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.3002, allocations: 0 / 0.9533 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.019e-05/0.3002, allocations: 109.9 kB / 0.9534 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3003, allocations: 0 / 0.9534 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002012/0.3005, allocations: 8 kB / 0.9534 GB, free: 5.207 MB / 0.7325 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.0002871/0.3008, allocations: 133.8 kB / 0.9535 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.3009, allocations: 19.98 kB / 0.9536 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3009, allocations: 0 / 0.9536 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.3009, allocations: 4 kB / 0.9536 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.301, allocations: 7.938 kB / 0.9536 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.3013, allocations: 154.8 kB / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.3016, allocations: 0.6844 MB / 0.9544 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.3016, allocations: 11.42 kB / 0.9544 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of SimCode: time 7.32e-07/0.3016, allocations: 0 / 0.9544 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of Templates: time 0.002643/0.3043, allocations: 0.9566 MB / 0.9553 GB, free: 3.184 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches