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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009393/0.0009393, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009985/0.0009985, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.951/0.951, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.04/2.04, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 1.094 kB / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.235e-05, allocations: 4.344 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001748/0.00178, allocations: 0.557 MB / 0.8787 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003483/0.002129, allocations: 149.6 kB / 0.8788 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.002156, allocations: 0 / 0.8788 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.002176, allocations: 4.469 kB / 0.8788 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.002401, allocations: 13.78 kB / 0.8788 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.045e-05/0.002452, allocations: 32.75 kB / 0.8789 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.51e-05/0.002517, allocations: 27.09 kB / 0.8789 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.002556, allocations: 4.609 kB / 0.8789 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.541e-05/0.002591, allocations: 8 kB / 0.8789 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.002883, allocations: 341.8 kB / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.002901, allocations: 4.75 kB / 0.8792 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.659e-05/0.002957, allocations: 8 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.002972, allocations: 12.67 kB / 0.8793 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.974e-05/0.002992, allocations: 4 kB / 0.8793 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.003104, allocations: 40.39 kB / 0.8793 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.003108, allocations: 4.734 kB / 0.8793 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003108, allocations: 0 / 0.8793 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.003113, allocations: 1.344 kB / 0.8793 GB, free: 5.227 MB / 0.8386 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.0002776/0.00339, allocations: 376.4 kB / 0.8797 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.003436, allocations: 12.03 kB / 0.8797 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.003477, allocations: 8.891 kB / 0.8797 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.392e-05/0.003561, allocations: 121.5 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.003571, allocations: 4.359 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.003581, allocations: 5.469 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.261e-05/0.003673, allocations: 42.25 kB / 0.8798 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.00368, allocations: 192 / 0.8798 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.003691, allocations: 9.188 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.003698, allocations: 0 / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.727e-05/0.003725, allocations: 11.98 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.004019, allocations: 276.9 kB / 0.8801 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.899e-05/0.004058, allocations: 30.94 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.004076, allocations: 15.75 kB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.004082, allocations: 0.7812 kB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.0041, allocations: 33.39 kB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.004101, allocations: 1.656 kB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.00422, allocations: 45.58 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.004247, allocations: 51.41 kB / 0.8803 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.004348, allocations: 197.9 kB / 0.8805 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.659e-06/0.004358, allocations: 26.2 kB / 0.8805 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.004405, allocations: 144.4 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-06/0.004411, allocations: 3.938 kB / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.004443, allocations: 35.31 kB / 0.8807 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.004569, allocations: 0.4884 MB / 0.8812 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.004587, allocations: 9.188 kB / 0.8812 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.004602, allocations: 8.109 kB / 0.8812 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.295e-05/0.004635, allocations: 27.62 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.004638, allocations: 5.031 kB / 0.8812 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.865e-05/0.004717, allocations: 61.62 kB / 0.8813 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.004729, allocations: 4 kB / 0.8813 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.004734, allocations: 0.6562 kB / 0.8813 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.004746, allocations: 4 kB / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.637e-05/0.004762, allocations: 1.594 kB / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.004769, allocations: 3.984 kB / 0.8813 GB, free: 3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.004786, allocations: 7.953 kB / 0.8813 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.004795, allocations: 3.984 kB / 0.8813 GB, free: 2.988 MB / 0.8386 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.2e-05/0.004857, allocations: 167.5 kB / 0.8815 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.004868, allocations: 0 / 0.8815 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.004889, allocations: 7.469 kB / 0.8815 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.00489, allocations: 0 / 0.8815 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.004894, allocations: 0 / 0.8815 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.004896, allocations: 0 / 0.8815 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.005099, allocations: 420.2 kB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.0051, allocations: 1.562 kB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-06/0.005102, allocations: 0 / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.005103, allocations: 0 / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.005109, allocations: 0 / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.00511, allocations: 4 kB / 0.8819 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.005112, allocations: 4.609 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.528e-05/0.005157, allocations: 73.3 kB / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.005164, allocations: 11.88 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.005174, allocations: 4.688 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-06/0.00518, allocations: 4 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.0052, allocations: 4.188 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.005202, allocations: 0 / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.268e-05/0.005254, allocations: 146.5 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005254, allocations: 0 / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001317/0.005386, allocations: 19.92 kB / 0.8821 GB, free: 2.07 MB / 0.8386 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.0002508/0.005637, allocations: 109.2 kB / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.613e-05/0.005723, allocations: 35.55 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.005724, allocations: 0 / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.035e-06/0.005732, allocations: 11.69 kB / 0.8823 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.005838, allocations: 11.94 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001948/0.006033, allocations: 126.3 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.936e-05/0.006063, allocations: 59.34 kB / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.006084, allocations: 8.125 kB / 0.8825 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/0.0061, allocations: 8.5 kB / 0.8825 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/0.006101, allocations: 0 / 0.8825 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of Templates: time 0.002189/0.00829, allocations: 0.6501 MB / 0.8831 GB, free: 1 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1910401582717896]