Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 111.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 192 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7645 GB, free: 10.16 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 79.86 kB / 1.109 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8314/0.8334, allocations: 168.7 MB / 1.274 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.00177/0.8352, allocations: 0.5306 MB / 1.275 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004463/0.8356, allocations: 160.1 kB / 1.275 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.8357, allocations: 0 / 1.275 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.8357, allocations: 3.938 kB / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.8359, allocations: 11.94 kB / 1.275 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.213e-05/0.8359, allocations: 27.84 kB / 1.275 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.836, allocations: 27.86 kB / 1.275 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.8361, allocations: 7.984 kB / 1.275 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.908e-05/0.8361, allocations: 11.94 kB / 1.275 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.8365, allocations: 323.4 kB / 1.275 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.8365, allocations: 0 / 1.275 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.057e-05/0.8366, allocations: 16 kB / 1.275 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.8366, allocations: 11.92 kB / 1.275 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.8366, allocations: 15.92 kB / 1.275 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.8367, allocations: 46.44 kB / 1.275 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8367, allocations: 0 / 1.275 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8367, allocations: 0 / 1.275 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.8367, allocations: 0 / 1.275 GB, free: 3.453 MB / 0.9669 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.0004164/0.8372, allocations: 347.3 kB / 1.276 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.8372, allocations: 8.625 kB / 1.276 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.8372, allocations: 8.891 kB / 1.276 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.8374, allocations: 176.2 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.8374, allocations: 4.375 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.8374, allocations: 4.375 kB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.8376, allocations: 53.81 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.8376, allocations: 0 / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.8376, allocations: 3.984 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.8376, allocations: 3.938 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.842e-05/0.8376, allocations: 16 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.838, allocations: 280.8 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.835e-05/0.8381, allocations: 22.58 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.8381, allocations: 4.859 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.8381, allocations: 0 / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.8381, allocations: 30.56 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.8382, allocations: 0 / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.8383, allocations: 37.7 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.8384, allocations: 51.41 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.8385, allocations: 152.4 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.8385, allocations: 29.7 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.8386, allocations: 96.03 kB / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-06/0.8386, allocations: 0 / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.8386, allocations: 29.66 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.8388, allocations: 322.8 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.699e-05/0.8388, allocations: 7.984 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.392e-05/0.8388, allocations: 12 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.8389, allocations: 24.97 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8389, allocations: 4 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001208/0.839, allocations: 61.62 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.839, allocations: 4 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.839, allocations: 4 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.839, allocations: 0 / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.955e-05/0.8391, allocations: 0 / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.8391, allocations: 0 / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.8391, allocations: 7.953 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.8391, allocations: 3.938 kB / 1.277 GB, free: 1.457 MB / 0.9669 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 8.578e-05/0.8392, allocations: 125.8 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.8392, allocations: 3.953 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.8392, allocations: 7.531 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.8392, allocations: 0 / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.8392, allocations: 0 / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.8392, allocations: 0 / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.8396, allocations: 370.6 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8396, allocations: 0 / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-06/0.8396, allocations: 0 / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8396, allocations: 8.016 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.8396, allocations: 4 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.8396, allocations: 3.938 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.8396, allocations: 0 / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.2e-05/0.8397, allocations: 61.06 kB / 1.277 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.8397, allocations: 85 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.8397, allocations: 0 / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.644e-05/0.8397, allocations: 12.03 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.8398, allocations: 8 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-06/0.8398, allocations: 3.938 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.42e-05/0.8399, allocations: 103.2 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8399, allocations: 0 / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002159/0.8401, allocations: 15.94 kB / 1.278 GB, free: 0.5547 MB / 0.9669 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.0003682/0.8405, allocations: 111.5 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.8406, allocations: 23.98 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.8406, allocations: 0 / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.238e-06/0.8406, allocations: 3.938 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.8407, allocations: 4 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.8411, allocations: 120.8 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.8415, allocations: 0.6846 MB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.8415, allocations: 8.125 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.8416, allocations: 15.42 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.8416, allocations: 0 / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of Templates: time 0.003468/0.845, allocations: 0.5393 MB / 1.279 GB, free: 15 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.85253714909777]