Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_10_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.001166/0.001166, allocations: 105.6 kB / 16.35 MB, free: 5.824 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.001143/0.001143, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.208/1.208, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.197/2.197, allocations: 437.1 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.44 kB / 0.8707 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2478, allocations: 151.6 MB / 1.019 GB, free: 9.926 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001547/0.2494, allocations: 0.5414 MB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003642/0.2497, allocations: 152.1 kB / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.2498, allocations: 0 / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.2498, allocations: 3.938 kB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.25, allocations: 7.938 kB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.881e-05/0.25, allocations: 31.91 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.2501, allocations: 23.92 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.2502, allocations: 11.92 kB / 1.02 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.568e-05/0.2502, allocations: 7.938 kB / 1.02 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.2505, allocations: 313.4 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.2505, allocations: 0 / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.697e-05/0.2506, allocations: 19.94 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.2506, allocations: 11.92 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.2506, allocations: 19.86 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.253e-05/0.2507, allocations: 39.89 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2507, allocations: 0 / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2507, allocations: 0 / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2507, allocations: 0 / 1.02 GB, free: 8.781 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.0002941/0.251, allocations: 341.3 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.251, allocations: 12.03 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.2511, allocations: 4.844 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.964e-05/0.2512, allocations: 180.2 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2512, allocations: 4.375 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.2512, allocations: 384 / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.2513, allocations: 57.75 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.2513, allocations: 0 / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.2513, allocations: 4 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2514, allocations: 3.938 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.043e-05/0.2514, allocations: 15.98 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.2517, allocations: 272.9 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.95e-05/0.2518, allocations: 18.58 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.2518, allocations: 8.859 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.2518, allocations: 0 / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.2518, allocations: 38.5 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.2518, allocations: 0 / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001141/0.2519, allocations: 37.67 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.252, allocations: 51.41 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2521, allocations: 140.1 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.2521, allocations: 29.81 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.2521, allocations: 100 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.762e-06/0.2521, allocations: 3.938 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.2522, allocations: 29.7 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.2523, allocations: 318.8 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.513e-05/0.2523, allocations: 11.98 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.2523, allocations: 15.94 kB / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.966e-05/0.2524, allocations: 16.98 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2524, allocations: 0 / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.498e-05/0.2525, allocations: 73.56 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2525, allocations: 4 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.2525, allocations: 3.938 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.2525, allocations: 4 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.66e-05/0.2526, allocations: 0 / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2526, allocations: 0 / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.2526, allocations: 8 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.2526, allocations: 3.938 kB / 1.022 GB, free: 6.785 MB / 0.795 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.879e-05/0.2527, allocations: 113.8 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.2527, allocations: 11.89 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.887e-05/0.2527, allocations: 11.53 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.2527, allocations: 0 / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.2527, allocations: 0 / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.2527, allocations: 0 / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.253, allocations: 358.7 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.253, allocations: 3.938 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-06/0.253, allocations: 0 / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.253, allocations: 4.031 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.253, allocations: 0 / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.253, allocations: 7.938 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.253, allocations: 3.938 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.582e-05/0.2531, allocations: 65.03 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.2531, allocations: 77.11 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.2531, allocations: 0 / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.445e-05/0.2531, allocations: 8 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.2532, allocations: 8.031 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-06/0.2532, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.089e-05/0.2532, allocations: 99.27 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2532, allocations: 4 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001817/0.2534, allocations: 11.98 kB / 1.022 GB, free: 5.906 MB / 0.795 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.0002192/0.2536, allocations: 120.5 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.046e-05/0.2537, allocations: 27.92 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2537, allocations: 4 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.412e-06/0.2538, allocations: 3.938 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.2539, allocations: 4 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001841/0.2541, allocations: 117 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.2543, allocations: 0.6807 MB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.364e-05/0.2543, allocations: 12.12 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.2543, allocations: 11.44 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of SimCode: time 2e-07/0.2544, allocations: 0 / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of Templates: time 0.00208/0.2564, allocations: 0.543 MB / 1.024 GB, free: 4.34 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches