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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007048/0.007049, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001447/0.001447, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.538/1.538, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.558/2.558, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8168/0.8182, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001596/0.8198, allocations: 0.5177 MB / 1.208 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004127/0.8202, allocations: 164 kB / 1.208 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.8203, allocations: 0 / 1.208 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.8203, allocations: 0 / 1.208 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.8205, allocations: 15.88 kB / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.387e-05/0.8206, allocations: 15.98 kB / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.462e-05/0.8207, allocations: 27.91 kB / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.8207, allocations: 0 / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.653e-05/0.8208, allocations: 15.94 kB / 1.208 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.8212, allocations: 325.7 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.8212, allocations: 7.938 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.675e-05/0.8212, allocations: 15.98 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.8213, allocations: 8 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.8213, allocations: 19.86 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.491e-05/0.8214, allocations: 31.89 kB / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8214, allocations: 0 / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8214, allocations: 0 / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.8214, allocations: 0 / 1.209 GB, free: 12.49 MB / 0.9356 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.0003586/0.8218, allocations: 351.2 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.8218, allocations: 15.97 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.8219, allocations: 12.81 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.822, allocations: 170.1 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.822, allocations: 384 / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.822, allocations: 4.375 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.8221, allocations: 53.8 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.8222, allocations: 0 / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.8222, allocations: 4 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8222, allocations: 0 / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/0.8222, allocations: 15.98 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.8226, allocations: 284.8 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.452e-05/0.8226, allocations: 14.58 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.8226, allocations: 8.922 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.8226, allocations: 0 / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.8227, allocations: 30.56 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.8227, allocations: 0 / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.8228, allocations: 41.75 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.8229, allocations: 55.41 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.823, allocations: 148.3 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.823, allocations: 25.7 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.8231, allocations: 92.05 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-06/0.8231, allocations: 0 / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.8231, allocations: 29.61 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8232, allocations: 322.8 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.8233, allocations: 12 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.8233, allocations: 11.98 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.8233, allocations: 16.86 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.8233, allocations: 0 / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000104/0.8235, allocations: 69.75 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.8235, allocations: 4 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.8235, allocations: 0 / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.8235, allocations: 0 / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.501e-05/0.8235, allocations: 7.984 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.8235, allocations: 0 / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.788e-05/0.8236, allocations: 11.84 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.8236, allocations: 7.938 kB / 1.211 GB, free: 10.49 MB / 0.9356 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.63e-05/0.8237, allocations: 113.8 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.8237, allocations: 4 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.8237, allocations: 7.469 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.8237, allocations: 4 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.8237, allocations: 0 / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.8237, allocations: 0 / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.824, allocations: 370.6 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.824, allocations: 0 / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.824, allocations: 0 / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.824, allocations: 0 / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.824, allocations: 0 / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8241, allocations: 3.938 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8241, allocations: 3.984 kB / 1.211 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.867e-05/0.8241, allocations: 65.02 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.8242, allocations: 85.02 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.8242, allocations: 0 / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.908e-05/0.8242, allocations: 3.938 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.8243, allocations: 3.984 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.8243, allocations: 4 kB / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.55e-05/0.8243, allocations: 99.27 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8243, allocations: 0 / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001998/0.8245, allocations: 16 kB / 1.211 GB, free: 9.605 MB / 0.9356 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.0003033/0.8249, allocations: 137.2 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.774e-05/0.825, allocations: 16 kB / 1.211 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.825, allocations: 0 / 1.211 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.073e-05/0.825, allocations: 7.938 kB / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.8251, allocations: 0 / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.8254, allocations: 123.1 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.8256, allocations: 0.6846 MB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.8257, allocations: 4 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/0.8257, allocations: 15.38 kB / 1.212 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8257, allocations: 0 / 1.212 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of Templates: time 0.002626/0.8283, allocations: 0.5417 MB / 1.213 GB, free: 8.039 MB / 0.9356 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches