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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_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.001203/0.001203, allocations: 111.5 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.001151/0.001151, allocations: 192 kB / 17.31 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.206/1.206, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.181/2.181, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 64.56 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2451, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001432/0.2466, allocations: 0.5337 MB / 1.027 GB, free: 1.547 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003344/0.2469, allocations: 158.4 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.247, allocations: 0 / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.247, allocations: 3.938 kB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.2472, allocations: 11.94 kB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.313e-05/0.2472, allocations: 23.91 kB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.69e-05/0.2473, allocations: 19.98 kB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.2473, allocations: 4 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.193e-05/0.2474, allocations: 19.92 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.2477, allocations: 311.8 kB / 1.028 GB, free: 1.035 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.2477, allocations: 4 kB / 1.028 GB, free: 1.031 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.355e-05/0.2477, allocations: 19.98 kB / 1.028 GB, free: 1.012 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.2478, allocations: 7.938 kB / 1.028 GB, free: 1.004 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.2478, allocations: 19.86 kB / 1.028 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.247e-05/0.2479, allocations: 35.89 kB / 1.028 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2479, allocations: 7.938 kB / 1.028 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2479, allocations: 0 / 1.028 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.2479, allocations: 0 / 1.028 GB, free: 0.9414 MB / 0.795 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.0002749/0.2482, allocations: 343.4 kB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.2482, allocations: 8.031 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.2482, allocations: 8.844 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.91e-05/0.2483, allocations: 172.2 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.2484, allocations: 4.312 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.2484, allocations: 8.375 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.769e-05/0.2485, allocations: 57.78 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.2485, allocations: 0 / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.2485, allocations: 4 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.2485, allocations: 4 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.096e-05/0.2486, allocations: 19.92 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.2489, allocations: 276.8 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 2.957e-05/0.2489, allocations: 14.58 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.326e-05/0.2489, allocations: 4.859 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-06/0.2489, allocations: 8.062 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.249, allocations: 34.55 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.249, allocations: 0 / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001087/0.2491, allocations: 37.64 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.2491, allocations: 55.41 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.486e-05/0.2492, allocations: 137.7 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.2492, allocations: 25.7 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.2493, allocations: 96.16 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.2493, allocations: 7.938 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.2493, allocations: 21.72 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.2494, allocations: 322.8 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.2494, allocations: 8 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.2495, allocations: 11.98 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.243e-05/0.2495, allocations: 20.8 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2495, allocations: 0 / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001031/0.2496, allocations: 73.53 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.2496, allocations: 4 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2496, allocations: 0 / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.2497, allocations: 0 / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.799e-05/0.2497, allocations: 7.984 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.2497, allocations: 0 / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.2497, allocations: 0 / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.2497, allocations: 7.938 kB / 1.03 GB, free: 14.95 MB / 0.8106 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 5.526e-05/0.2498, allocations: 113.8 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.2498, allocations: 7.906 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.467e-05/0.2498, allocations: 7.531 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2498, allocations: 3.984 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.2499, allocations: 0 / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.2499, allocations: 4 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.2501, allocations: 358.9 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2501, allocations: 4 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-06/0.2501, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2501, allocations: 7.922 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.2501, allocations: 4.031 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2501, allocations: 3.938 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2501, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.796e-05/0.2502, allocations: 60.98 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.2502, allocations: 77.11 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.2502, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.363e-05/0.2503, allocations: 7.938 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.2503, allocations: 8.016 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-06/0.2503, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.2503, allocations: 101.9 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2504, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001882/0.2505, allocations: 16 kB / 1.03 GB, free: 14.07 MB / 0.8106 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.0001927/0.2507, allocations: 134 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.999e-05/0.2508, allocations: 19.94 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2508, allocations: 0 / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.944e-06/0.2509, allocations: 7.938 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.251, allocations: 12.53 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/0.2512, allocations: 112.1 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.2514, allocations: 0.6846 MB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.424e-05/0.2514, allocations: 12.19 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.2514, allocations: 7.438 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2514, allocations: 0 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of Templates: time 0.002058/0.2535, allocations: 0.5425 MB / 1.032 GB, free: 12.49 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (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 & ./Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) 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) Reference file matches