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.0006899/0.0006899, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008145/0.0008145, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8918/0.8918, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.703/1.703, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_12_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_12_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.9809 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.6e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001534/0.00155, allocations: 0.5505 MB / 0.9815 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004591/0.002009, allocations: 148 kB / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.002045, allocations: 0 / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.002067, allocations: 3.938 kB / 0.9816 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.002313, allocations: 7.938 kB / 0.9816 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 8.657e-05/0.002399, allocations: 27.84 kB / 0.9816 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.464e-05/0.002474, allocations: 27.91 kB / 0.9817 GB, free: 1.879 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.774e-05/0.002532, allocations: 7.984 kB / 0.9817 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.616e-05/0.002578, allocations: 16 kB / 0.9817 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.003006, allocations: 333.1 kB / 0.982 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.003025, allocations: 0 / 0.982 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.839e-05/0.003093, allocations: 12 kB / 0.982 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.003108, allocations: 4 kB / 0.982 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.003136, allocations: 15.92 kB / 0.982 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.00326, allocations: 35.83 kB / 0.9821 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003262, allocations: 0 / 0.9821 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003263, allocations: 3.938 kB / 0.9821 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.003268, allocations: 4 kB / 0.9821 GB, free: 1.488 MB / 0.9323 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.0003255/0.003593, allocations: 278.1 kB / 0.9823 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.003639, allocations: 11.98 kB / 0.9823 GB, free: 1.176 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.003682, allocations: 38.75 kB / 0.9824 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.00371, allocations: 0.9375 kB / 0.9824 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.789e-05/0.003808, allocations: 117.7 kB / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.003821, allocations: 4.375 kB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.003831, allocations: 384 / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.003955, allocations: 54.19 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.003965, allocations: 192 / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.003977, allocations: 3.938 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.003982, allocations: 0 / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/0.004033, allocations: 19.98 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.004395, allocations: 244 kB / 0.9828 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.319e-05/0.004448, allocations: 22.52 kB / 0.9828 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.00447, allocations: 12.86 kB / 0.9828 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.004479, allocations: 0 / 0.9828 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.004505, allocations: 34.62 kB / 0.9829 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.004506, allocations: 0 / 0.9829 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001732/0.00468, allocations: 33.69 kB / 0.9829 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.004721, allocations: 55.41 kB / 0.983 GB, free: 436 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.004853, allocations: 140 kB / 0.9831 GB, free: 288 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.004866, allocations: 29.7 kB / 0.9831 GB, free: 252 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.00492, allocations: 96.03 kB / 0.9832 GB, free: 152 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.878e-06/0.00493, allocations: 11.94 kB / 0.9832 GB, free: 140 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.00498, allocations: 25.7 kB / 0.9832 GB, free: 108 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.005108, allocations: 322.7 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.982e-05/0.005138, allocations: 12 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.005165, allocations: 11.98 kB / 0.9836 GB, free: 15.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.128e-05/0.005207, allocations: 16.86 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005209, allocations: 0 / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001256/0.005335, allocations: 73.69 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.005349, allocations: 8 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.005355, allocations: 0 / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.005368, allocations: 0 / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.787e-05/0.005396, allocations: 15.92 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.005402, allocations: 0 / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.00543, allocations: 0 / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.005442, allocations: 4 kB / 0.9837 GB, free: 15.63 MB / 0.948 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.026e-05/0.005522, allocations: 120.5 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.005552, allocations: 7.953 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.005572, allocations: 7.469 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.005573, allocations: 4 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.005578, allocations: 4 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.005581, allocations: 0 / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.005864, allocations: 329.8 kB / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.005866, allocations: 0 / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-06/0.005869, allocations: 3.938 kB / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.005871, allocations: 0 / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.005879, allocations: 4 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.00588, allocations: 0 / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005881, allocations: 0 / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.318e-05/0.005954, allocations: 73.05 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-06/0.00596, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.005975, allocations: 4 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.285e-05/0.005988, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.00601, allocations: 3.938 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.006013, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.00608, allocations: 110.3 kB / 0.9843 GB, free: 14.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.00608, allocations: 0 / 0.9843 GB, free: 14.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000238/0.006318, allocations: 11.98 kB / 0.9843 GB, free: 14.89 MB / 0.948 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.0004999/0.006818, allocations: 0.6267 MB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.532e-05/0.006913, allocations: 16 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.006915, allocations: 0 / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-06/0.006924, allocations: 11.88 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.007089, allocations: 11.86 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.007444, allocations: 146.4 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.007493, allocations: 67.41 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.017e-05/0.007523, allocations: 7.984 kB / 0.9852 GB, free: 13.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.00756, allocations: 24.44 kB / 0.9852 GB, free: 13.9 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.00756, allocations: 0 / 0.9852 GB, free: 13.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.02363, allocations: 2.271 MB / 0.9874 GB, free: 11.75 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/6.814, allocations: 11.98 kB / 0.9875 GB, free: 11.74 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv: Error: Error opening file: Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,cmpAll Variables in the result: [Calling sys.exit(0), Time elapsed: 10.838298259302974]