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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009507/0.0009508, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005725/0.005725, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.489/2.489, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 11.98 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7203, allocations: 142.4 MB / 0.955 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0005939/0.7209, allocations: 267.5 kB / 0.9553 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004166/0.7213, allocations: 147 kB / 0.9554 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.844e-05/0.7214, allocations: 0 / 0.9554 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.7214, allocations: 4 kB / 0.9554 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.7216, allocations: 6.656 kB / 0.9554 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.31e-05/0.7216, allocations: 15.14 kB / 0.9554 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.99e-05/0.7217, allocations: 31.2 kB / 0.9555 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.092e-05/0.7218, allocations: 3.25 kB / 0.9555 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.409e-05/0.7218, allocations: 12.36 kB / 0.9555 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.7221, allocations: 318.9 kB / 0.9558 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.7221, allocations: 1.344 kB / 0.9558 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.763e-05/0.7222, allocations: 16.75 kB / 0.9558 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.7222, allocations: 2.719 kB / 0.9558 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.7223, allocations: 52.86 kB / 0.9559 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.05e-05/0.7224, allocations: 35.09 kB / 0.9559 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7224, allocations: 0 / 0.9559 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7224, allocations: 3.938 kB / 0.9559 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.7224, allocations: 1.312 kB / 0.9559 GB, free: 7.195 MB / 0.7169 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.0002789/0.7227, allocations: 344.8 kB / 0.9562 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.7227, allocations: 10.09 kB / 0.9562 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.7228, allocations: 3 kB / 0.9562 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.7229, allocations: 167.5 kB / 0.9564 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.7229, allocations: 9.297 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.7229, allocations: 2.344 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.7231, allocations: 56.61 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7231, allocations: 0 / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.7231, allocations: 0 / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.7231, allocations: 1.375 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.589e-05/0.7232, allocations: 22.05 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.7236, allocations: 271.1 kB / 0.9567 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.039e-05/0.7236, allocations: 24.89 kB / 0.9568 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.7236, allocations: 6.078 kB / 0.9568 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.7237, allocations: 0 / 0.9568 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.7237, allocations: 31.78 kB / 0.9568 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.7237, allocations: 0 / 0.9568 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001627/0.7238, allocations: 40.62 kB / 0.9568 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.7239, allocations: 52.5 kB / 0.9569 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.724, allocations: 146.1 kB / 0.957 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.724, allocations: 25.7 kB / 0.9571 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.7241, allocations: 95.33 kB / 0.9571 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-06/0.7241, allocations: 4.969 kB / 0.9572 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.7241, allocations: 19.8 kB / 0.9572 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.421e-05/0.7242, allocations: 321 kB / 0.9575 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.7242, allocations: 13.45 kB / 0.9575 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.7242, allocations: 6.438 kB / 0.9575 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/0.7243, allocations: 21.2 kB / 0.9575 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7243, allocations: 3.938 kB / 0.9575 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001095/0.7244, allocations: 70.61 kB / 0.9576 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.7244, allocations: 5 kB / 0.9576 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7244, allocations: 0.875 kB / 0.9576 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.7244, allocations: 1.094 kB / 0.9576 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.394e-05/0.7245, allocations: 1 kB / 0.9576 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.7245, allocations: 1 kB / 0.9576 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.7245, allocations: 4.844 kB / 0.9576 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.7245, allocations: 6.281 kB / 0.9576 GB, free: 5.387 MB / 0.7169 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.367e-05/0.7246, allocations: 120.2 kB / 0.9577 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.7246, allocations: 6.031 kB / 0.9577 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.7247, allocations: 14.08 kB / 0.9577 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.7247, allocations: 0 / 0.9577 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.7247, allocations: 3.938 kB / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.7247, allocations: 1.094 kB / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.7249, allocations: 358.2 kB / 0.9581 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.7249, allocations: 1.562 kB / 0.9581 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-06/0.7249, allocations: 4.031 kB / 0.9581 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7249, allocations: 0 / 0.9581 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.7249, allocations: 0 / 0.9581 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.7249, allocations: 5.281 kB / 0.9581 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7249, allocations: 0 / 0.9581 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.37e-05/0.725, allocations: 65.08 kB / 0.9582 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.725, allocations: 85.06 kB / 0.9582 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.725, allocations: 32 / 0.9582 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.351e-05/0.7251, allocations: 11.92 kB / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.7251, allocations: 1.312 kB / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.7251, allocations: 0 / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.7252, allocations: 104.1 kB / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7252, allocations: 0 / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002067/0.7254, allocations: 13.84 kB / 0.9584 GB, free: 4.559 MB / 0.7169 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.0002398/0.7256, allocations: 140 kB / 0.9585 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.7257, allocations: 22.03 kB / 0.9585 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7257, allocations: 0 / 0.9585 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-06/0.7257, allocations: 6.219 kB / 0.9585 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.7259, allocations: 10.08 kB / 0.9585 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001969/0.7261, allocations: 120.1 kB / 0.9587 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.7262, allocations: 0.6849 MB / 0.9593 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.765e-05/0.7262, allocations: 3.688 kB / 0.9593 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.7263, allocations: 10.12 kB / 0.9593 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.7263, allocations: 0 / 0.9593 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of Templates: time 0.002518/0.7288, allocations: 0.5116 MB / 0.9598 GB, free: 3.316 MB / 0.7169 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches