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.001192/0.001192, allocations: 112 kB / 16.37 MB, free: 5.539 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.001175/0.001175, allocations: 191.9 kB / 17.3 MB, free: 5.18 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.218/1.218, 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 1.984/1.984, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.92 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2641, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001532/0.2657, allocations: 0.5281 MB / 0.9516 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003515/0.266, allocations: 156.1 kB / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.2661, allocations: 0 / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.2661, allocations: 3.938 kB / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.2663, allocations: 19.86 kB / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.778e-05/0.2663, allocations: 19.92 kB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.158e-05/0.2664, allocations: 19.97 kB / 0.9518 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.2664, allocations: 8 kB / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.939e-05/0.2665, allocations: 7.938 kB / 0.9519 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.2668, allocations: 310.5 kB / 0.9521 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2668, allocations: 11.94 kB / 0.9522 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.101e-05/0.2669, allocations: 15.98 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.2669, allocations: 7.938 kB / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.2669, allocations: 15.86 kB / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.752e-05/0.267, allocations: 39.89 kB / 0.9522 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.267, allocations: 0 / 0.9522 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/0.267, allocations: 0 / 0.9522 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.267, allocations: 0 / 0.9522 GB, free: 6.922 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.0002829/0.2673, allocations: 349.2 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2673, allocations: 15.88 kB / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.2674, allocations: 12.84 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2675, allocations: 172.2 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2675, allocations: 4.375 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.2675, allocations: 8.375 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.2676, allocations: 49.8 kB / 0.9528 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2677, allocations: 3.938 kB / 0.9528 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.2677, allocations: 0 / 0.9528 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2677, allocations: 7.938 kB / 0.9528 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.836e-05/0.2677, allocations: 12 kB / 0.9528 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.268, allocations: 280.9 kB / 0.9531 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.077e-05/0.268, allocations: 14.58 kB / 0.9531 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.2681, allocations: 4.859 kB / 0.9531 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-06/0.2681, allocations: 4.062 kB / 0.9531 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.2681, allocations: 30.56 kB / 0.9532 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 2.074e-06/0.2681, allocations: 11.86 kB / 0.9532 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001153/0.2682, allocations: 49.59 kB / 0.9532 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.2683, allocations: 51.41 kB / 0.9533 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2684, allocations: 133.8 kB / 0.9534 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2684, allocations: 25.7 kB / 0.9534 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.2684, allocations: 94.06 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-06/0.2684, allocations: 7.938 kB / 0.9535 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.2685, allocations: 25.7 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2686, allocations: 322.8 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.2686, allocations: 12.12 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.2686, allocations: 8 kB / 0.9539 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.2687, allocations: 24.78 kB / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2687, allocations: 0 / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.621e-05/0.2688, allocations: 65.59 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2688, allocations: 4 kB / 0.954 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.2688, allocations: 0 / 0.954 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.2688, allocations: 0 / 0.954 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.875e-05/0.2688, allocations: 4 kB / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.2689, allocations: 0 / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.2689, allocations: 4 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.2689, allocations: 11.92 kB / 0.954 GB, free: 4.914 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.331e-05/0.269, allocations: 120.3 kB / 0.9541 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.269, allocations: 7.906 kB / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.607e-05/0.269, allocations: 7.531 kB / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.269, allocations: 0 / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.269, allocations: 0 / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-06/0.269, allocations: 7.938 kB / 0.9541 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.2693, allocations: 366.7 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2693, allocations: 0 / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-06/0.2693, allocations: 0 / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.2693, allocations: 0 / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-06/0.2693, allocations: 0 / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2693, allocations: 3.938 kB / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2693, allocations: 0 / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.777e-05/0.2694, allocations: 69 kB / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.2694, allocations: 81.11 kB / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.2694, allocations: 4 kB / 0.9546 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.273e-05/0.2694, allocations: 3.938 kB / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.2695, allocations: 0 / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-06/0.2695, allocations: 0 / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.028e-05/0.2695, allocations: 106.3 kB / 0.9547 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.2695, allocations: 0 / 0.9547 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001827/0.2697, allocations: 15.94 kB / 0.9547 GB, free: 4.031 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.000221/0.2699, allocations: 128.9 kB / 0.9549 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.825e-05/0.27, allocations: 23.92 kB / 0.9549 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.27, allocations: 0 / 0.9549 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.845e-06/0.2701, allocations: 4 kB / 0.9549 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.2702, allocations: 6.656 kB / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.2704, allocations: 109.1 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.2706, allocations: 0.6844 MB / 0.9557 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.582e-05/0.2706, allocations: 16.02 kB / 0.9557 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.2706, allocations: 7.438 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.2707, allocations: 4 kB / 0.9557 GB, free: 3 MB / 0.7325 GB Notification: Performance of Templates: time 0.002258/0.2729, allocations: 0.5349 MB / 0.9562 GB, free: 2.469 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 cvode -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