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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001311/0.001311, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001246/0.001246, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.83 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2585, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.002139/0.2607, allocations: 0.5335 MB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004381/0.2612, allocations: 156 kB / 0.9518 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.2612, allocations: 0 / 0.9518 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.2613, allocations: 0 / 0.9518 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.2615, allocations: 11.88 kB / 0.9518 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.687e-05/0.2616, allocations: 23.97 kB / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.658e-05/0.2617, allocations: 27.86 kB / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.871e-05/0.2617, allocations: 7.984 kB / 0.9518 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.741e-05/0.2618, allocations: 15.94 kB / 0.9519 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.2621, allocations: 303.7 kB / 0.9521 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.2621, allocations: 0 / 0.9521 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.18e-05/0.2622, allocations: 12 kB / 0.9522 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.2622, allocations: 19.91 kB / 0.9522 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.2623, allocations: 7.938 kB / 0.9522 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.2624, allocations: 39.83 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2624, allocations: 0 / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2624, allocations: 7.938 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2624, allocations: 0 / 0.9522 GB, free: 6.965 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.0003441/0.2627, allocations: 351.3 kB / 0.9526 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2628, allocations: 15.89 kB / 0.9526 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.2628, allocations: 4.844 kB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.263, allocations: 180.2 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.263, allocations: 384 / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.263, allocations: 4.375 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.2631, allocations: 49.81 kB / 0.9528 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2631, allocations: 4 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.2632, allocations: 0 / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2632, allocations: 4 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.26e-05/0.2632, allocations: 19.92 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.2636, allocations: 272.9 kB / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.978e-05/0.2636, allocations: 18.58 kB / 0.9531 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.2637, allocations: 8.922 kB / 0.9531 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.2637, allocations: 7.984 kB / 0.9531 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.2637, allocations: 30.56 kB / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2637, allocations: 0 / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001585/0.2639, allocations: 41.55 kB / 0.9532 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.2639, allocations: 51.41 kB / 0.9532 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2641, allocations: 144.7 kB / 0.9534 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.2641, allocations: 25.7 kB / 0.9534 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.2642, allocations: 102.2 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.2642, allocations: 11.92 kB / 0.9535 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.2642, allocations: 25.7 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2644, allocations: 314.8 kB / 0.9538 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.314e-05/0.2644, allocations: 15.98 kB / 0.9539 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.2645, allocations: 8 kB / 0.9539 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.237e-05/0.2645, allocations: 24.97 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2645, allocations: 3.938 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001212/0.2646, allocations: 65.59 kB / 0.954 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2647, allocations: 8 kB / 0.954 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2647, allocations: 0 / 0.954 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2647, allocations: 0 / 0.954 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-05/0.2647, allocations: 4 kB / 0.954 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2647, allocations: 0 / 0.954 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.2648, allocations: 0 / 0.954 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.2648, allocations: 7.938 kB / 0.954 GB, free: 4.957 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 6.901e-05/0.2649, allocations: 113.8 kB / 0.9541 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.2649, allocations: 11.91 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/0.2649, allocations: 7.531 kB / 0.9541 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2649, allocations: 0 / 0.9541 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2649, allocations: 11.88 kB / 0.9541 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2649, allocations: 0 / 0.9541 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.2653, allocations: 358.7 kB / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2653, allocations: 0 / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-06/0.2653, allocations: 0 / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2653, allocations: 0 / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2653, allocations: 0 / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.2653, allocations: 7.969 kB / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2654, allocations: 0 / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.376e-05/0.2654, allocations: 68.97 kB / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.2655, allocations: 81.11 kB / 0.9546 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.2655, allocations: 0 / 0.9546 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.588e-05/0.2655, allocations: 3.938 kB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.2655, allocations: 0 / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.2656, allocations: 12.03 kB / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.006e-05/0.2656, allocations: 103.3 kB / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2656, allocations: 0 / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002059/0.2658, allocations: 11.98 kB / 0.9547 GB, free: 4.07 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.0002664/0.2661, allocations: 121.2 kB / 0.9548 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.2662, allocations: 23.98 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2662, allocations: 0 / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.789e-06/0.2662, allocations: 7.938 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.2664, allocations: 4.047 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.2666, allocations: 109.1 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.2669, allocations: 0.6844 MB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.987e-05/0.2669, allocations: 7.906 kB / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.2669, allocations: 19.48 kB / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.2669, allocations: 0 / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of Templates: time 0.002807/0.2698, allocations: 0.5349 MB / 0.9562 GB, free: 2.516 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 -s gbode -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