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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00147/0.00147, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001771/0.001771, allocations: 192.1 kB / 16.25 MB, free: 6.629 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 472.7 MB / 0.7449 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 68.66 kB / 0.9116 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3509, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001983/0.3529, allocations: 0.5988 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004639/0.3534, allocations: 150.3 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.3535, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.3535, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.3538, allocations: 11.88 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.975e-05/0.3538, allocations: 23.97 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.388e-05/0.3539, allocations: 23.92 kB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.689e-05/0.354, allocations: 7.984 kB / 1.069 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.883e-05/0.354, allocations: 7.938 kB / 1.069 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.3543, allocations: 312.5 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.3544, allocations: 0 / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.718e-05/0.3544, allocations: 19.98 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.3545, allocations: 7.922 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.3545, allocations: 15.88 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.3546, allocations: 35.89 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3546, allocations: 0 / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3546, allocations: 0 / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.3546, allocations: 0 / 1.069 GB, free: 9.613 MB / 0.8262 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.0003374/0.355, allocations: 347.6 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.355, allocations: 16.03 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.3551, allocations: 4.875 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3552, allocations: 180.2 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3552, allocations: 8.375 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3553, allocations: 384 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.3554, allocations: 53.8 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3554, allocations: 11.92 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3554, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3554, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.42e-05/0.3555, allocations: 16 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.3558, allocations: 284.8 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.773e-05/0.3559, allocations: 14.58 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.3559, allocations: 8.922 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.3559, allocations: 0 / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.356, allocations: 30.56 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.356, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001423/0.3561, allocations: 45.64 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.3561, allocations: 55.39 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3563, allocations: 139.7 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3563, allocations: 25.7 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.3563, allocations: 92.05 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-06/0.3563, allocations: 3.938 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.3564, allocations: 29.61 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.3565, allocations: 322.9 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.3565, allocations: 16 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.3566, allocations: 4 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.217e-05/0.3566, allocations: 20.84 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3566, allocations: 4 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001132/0.3567, allocations: 65.56 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3568, allocations: 5.25 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3568, allocations: 0 / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3568, allocations: 0 / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.442e-05/0.3568, allocations: 4 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3568, allocations: 0 / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.3569, allocations: 7.906 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3569, allocations: 15.92 kB / 1.071 GB, free: 7.598 MB / 0.8262 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.837e-05/0.357, allocations: 113.1 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.357, allocations: 4 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.357, allocations: 11.53 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.357, allocations: 0 / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.357, allocations: 192 / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3571, allocations: 3.938 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.3573, allocations: 370.6 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3573, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.604e-05/0.3573, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3574, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3574, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.3574, allocations: 7.922 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3574, allocations: 4 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.507e-05/0.3575, allocations: 69 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.3575, allocations: 81.11 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.3575, allocations: 0 / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.588e-05/0.3575, allocations: 3.938 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.3576, allocations: 0 / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.3576, allocations: 4 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.405e-05/0.3576, allocations: 103.2 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3576, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002071/0.3579, allocations: 12 kB / 1.071 GB, free: 6.719 MB / 0.8262 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.0002429/0.3581, allocations: 123.7 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.568e-05/0.3582, allocations: 19.98 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3582, allocations: 0 / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.338e-06/0.3582, allocations: 7.938 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.3584, allocations: 7.969 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.3586, allocations: 132.9 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.3588, allocations: 0.6807 MB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.3589, allocations: 12.11 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.3589, allocations: 11.44 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3589, allocations: 0 / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.002681/0.3616, allocations: 0.5334 MB / 1.073 GB, free: 5.148 MB / 0.8262 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