Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00173/0.00173, allocations: 114.1 kB / 17.13 MB, free: 5.926 MB / 14.72 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.002486/0.002486, allocations: 205.5 kB / 20.09 MB, free: 2.977 MB / 14.72 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 1.466/1.466, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.119/3.119, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 63.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131/1.133, allocations: 176.1 MB / 1.322 GB, free: 24.99 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001916/1.135, allocations: 0.5318 MB / 1.322 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004687/1.135, allocations: 160 kB / 1.323 GB, free: 24.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/1.135, allocations: 0 / 1.323 GB, free: 24.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/1.135, allocations: 3.938 kB / 1.323 GB, free: 24.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000229/1.136, allocations: 7 kB / 1.323 GB, free: 24.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.759e-05/1.136, allocations: 31.55 kB / 1.323 GB, free: 24.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.711e-05/1.136, allocations: 22.69 kB / 1.323 GB, free: 24.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.055e-05/1.136, allocations: 3.188 kB / 1.323 GB, free: 24.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.685e-05/1.136, allocations: 16.08 kB / 1.323 GB, free: 24.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/1.136, allocations: 327.7 kB / 1.323 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/1.136, allocations: 6.812 kB / 1.323 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/1.136, allocations: 15.2 kB / 1.323 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/1.136, allocations: 6.734 kB / 1.323 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/1.136, allocations: 14.69 kB / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/1.137, allocations: 38.72 kB / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.137, allocations: 0 / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/1.137, allocations: 0 / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.137, allocations: 0 / 1.323 GB, free: 24.35 MB / 1.061 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.0003394/1.137, allocations: 353.7 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.137, allocations: 11.53 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/1.137, allocations: 15.42 kB / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/1.137, allocations: 178.8 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/1.137, allocations: 2.875 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/1.137, allocations: 2.938 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/1.137, allocations: 50.94 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/1.137, allocations: 0 / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/1.137, allocations: 4 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.137, allocations: 0 / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.002e-05/1.137, allocations: 18.3 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/1.138, allocations: 281.1 kB / 1.324 GB, free: 23.42 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.938e-05/1.138, allocations: 17.27 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/1.138, allocations: 11.3 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/1.138, allocations: 0 / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/1.138, allocations: 30.56 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/1.138, allocations: 0 / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001448/1.138, allocations: 45.78 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/1.138, allocations: 54.73 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/1.138, allocations: 136.8 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/1.138, allocations: 25.7 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/1.138, allocations: 97.98 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-06/1.138, allocations: 4 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/1.138, allocations: 25.31 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.131e-05/1.138, allocations: 317.8 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/1.138, allocations: 16.67 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.068e-05/1.138, allocations: 9.094 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/1.138, allocations: 20.62 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.138, allocations: 0 / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000101/1.138, allocations: 62.66 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.138, allocations: 5.344 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/1.138, allocations: 0 / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/1.138, allocations: 2.875 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.594e-05/1.138, allocations: 7.094 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.138, allocations: 0 / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/1.138, allocations: 6.844 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/1.138, allocations: 14.62 kB / 1.325 GB, free: 22.57 MB / 1.061 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.164e-05/1.139, allocations: 108.6 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/1.139, allocations: 3.953 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/1.139, allocations: 13.67 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/1.139, allocations: 0 / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.139, allocations: 3.938 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.139, allocations: 2.781 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/1.139, allocations: 363.3 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.139, allocations: 0 / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-06/1.139, allocations: 0 / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.139, allocations: 3.984 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/1.139, allocations: 2.562 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.139, allocations: 3.938 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.139, allocations: 3.516 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.386e-05/1.139, allocations: 69.16 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/1.139, allocations: 81.06 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/1.139, allocations: 2.75 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.272e-05/1.139, allocations: 3.938 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/1.139, allocations: 3.469 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/1.139, allocations: 2.688 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.629e-05/1.139, allocations: 103.4 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.139, allocations: 0 / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002014/1.139, allocations: 15.23 kB / 1.326 GB, free: 21.77 MB / 1.061 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.0002749/1.139, allocations: 116.5 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001001/1.14, allocations: 20.19 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.14, allocations: 0 / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.018e-05/1.14, allocations: 6.688 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/1.14, allocations: 4 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/1.14, allocations: 145.8 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/1.14, allocations: 0.6849 MB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/1.14, allocations: 9.469 kB / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.14, allocations: 0 / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of Templates: time 0.002503/1.143, allocations: 0.9616 MB / 1.327 GB, free: 20.71 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.7320893540018]