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.00185/0.00185, allocations: 105.7 kB / 16.45 MB, free: 6.453 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.002246/0.002246, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.432/1.432, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] 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 3.255/3.255, allocations: 0.505 GB / 0.8066 GB, free: 23.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) [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.002131/0.002131, allocations: 75.31 kB / 1.172 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3262, allocations: 180.2 MB / 1.348 GB, free: 9.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001642/0.3278, allocations: 0.5282 MB / 1.348 GB, free: 9.445 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004196/0.3282, allocations: 156.4 kB / 1.348 GB, free: 9.289 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.3283, allocations: 0 / 1.348 GB, free: 9.289 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.3283, allocations: 7.875 kB / 1.348 GB, free: 9.281 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.3285, allocations: 11.92 kB / 1.348 GB, free: 9.27 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.768e-05/0.3285, allocations: 27.91 kB / 1.348 GB, free: 9.242 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.249e-05/0.3286, allocations: 23.92 kB / 1.348 GB, free: 9.219 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.3286, allocations: 4 kB / 1.348 GB, free: 9.215 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.984e-05/0.3286, allocations: 11.94 kB / 1.348 GB, free: 9.203 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.329, allocations: 321.8 kB / 1.349 GB, free: 8.906 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.329, allocations: 0 / 1.349 GB, free: 8.906 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.802e-05/0.3291, allocations: 19.94 kB / 1.349 GB, free: 8.887 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.3291, allocations: 11.91 kB / 1.349 GB, free: 8.875 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.3291, allocations: 15.88 kB / 1.349 GB, free: 8.859 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.3292, allocations: 36.11 kB / 1.349 GB, free: 8.824 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3292, allocations: 0 / 1.349 GB, free: 8.824 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3292, allocations: 0 / 1.349 GB, free: 8.824 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3292, allocations: 4 kB / 1.349 GB, free: 8.82 MB / 1.045 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.0003703/0.3296, allocations: 355.2 kB / 1.349 GB, free: 8.426 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3296, allocations: 8.031 kB / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.3297, allocations: 34.73 kB / 1.349 GB, free: 8.375 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.3297, allocations: 12.89 kB / 1.349 GB, free: 8.363 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.3299, allocations: 172.3 kB / 1.349 GB, free: 8.156 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3299, allocations: 384 / 1.349 GB, free: 8.156 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.3299, allocations: 4.375 kB / 1.349 GB, free: 8.152 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.33, allocations: 57.55 kB / 1.349 GB, free: 8.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.33, allocations: 7.938 kB / 1.349 GB, free: 8.082 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.33, allocations: 3.938 kB / 1.349 GB, free: 8.078 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.33, allocations: 0 / 1.349 GB, free: 8.078 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.815e-05/0.3301, allocations: 16 kB / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.3304, allocations: 280.9 kB / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 3.736e-05/0.3305, allocations: 18.58 kB / 1.35 GB, free: 7.711 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.3305, allocations: 4.859 kB / 1.35 GB, free: 7.703 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.567e-06/0.3305, allocations: 4 kB / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3305, allocations: 38.56 kB / 1.35 GB, free: 7.652 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3305, allocations: 0 / 1.35 GB, free: 7.652 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001328/0.3306, allocations: 33.69 kB / 1.35 GB, free: 7.613 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.3307, allocations: 55.41 kB / 1.35 GB, free: 7.547 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3308, allocations: 137.8 kB / 1.35 GB, free: 7.402 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.3308, allocations: 25.7 kB / 1.35 GB, free: 7.371 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.3309, allocations: 92.22 kB / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.3309, allocations: 11.92 kB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.331, allocations: 29.7 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3311, allocations: 322.8 kB / 1.351 GB, free: 6.906 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.3311, allocations: 4 kB / 1.351 GB, free: 6.902 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.3311, allocations: 15.98 kB / 1.351 GB, free: 6.887 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.577e-05/0.3312, allocations: 20.8 kB / 1.351 GB, free: 6.863 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3312, allocations: 0 / 1.351 GB, free: 6.863 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001176/0.3313, allocations: 61.64 kB / 1.351 GB, free: 6.797 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3313, allocations: 12 kB / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3313, allocations: 0 / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.3313, allocations: 0 / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.717e-05/0.3314, allocations: 0 / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3314, allocations: 4 kB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.3314, allocations: 8.078 kB / 1.351 GB, free: 6.773 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.3314, allocations: 3.984 kB / 1.351 GB, free: 6.77 MB / 1.045 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.316e-05/0.3315, allocations: 121.8 kB / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.3315, allocations: 4 kB / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.3315, allocations: 7.531 kB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3315, allocations: 0 / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3315, allocations: 0 / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3316, allocations: 7.922 kB / 1.351 GB, free: 6.613 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.3319, allocations: 366.7 kB / 1.351 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3319, allocations: 0 / 1.351 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-06/0.3319, allocations: 4 kB / 1.351 GB, free: 6.191 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3319, allocations: 0 / 1.351 GB, free: 6.191 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3319, allocations: 3.938 kB / 1.351 GB, free: 6.188 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3319, allocations: 7.969 kB / 1.351 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3319, allocations: 0 / 1.351 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.98e-05/0.332, allocations: 61.06 kB / 1.351 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.332, allocations: 81.06 kB / 1.351 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.332, allocations: 3.938 kB / 1.351 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.277e-05/0.332, allocations: 4 kB / 1.351 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.332, allocations: 4 kB / 1.351 GB, free: 5.992 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.332, allocations: 4.031 kB / 1.351 GB, free: 5.988 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.13e-05/0.3321, allocations: 106.2 kB / 1.351 GB, free: 5.887 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3321, allocations: 0 / 1.351 GB, free: 5.887 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002067/0.3323, allocations: 15.94 kB / 1.351 GB, free: 5.871 MB / 1.045 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.0005608/0.3329, allocations: 0.6091 MB / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.333, allocations: 27.92 kB / 1.352 GB, free: 5.211 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.333, allocations: 0 / 1.352 GB, free: 5.211 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-06/0.333, allocations: 0 / 1.352 GB, free: 5.211 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.3331, allocations: 5.719 kB / 1.352 GB, free: 5.207 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.3335, allocations: 146.5 kB / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3338, allocations: 0.6885 MB / 1.353 GB, free: 4.309 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.991e-05/0.3339, allocations: 8.125 kB / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.3339, allocations: 15.44 kB / 1.353 GB, free: 4.289 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.3339, allocations: 0 / 1.353 GB, free: 4.289 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.3574, allocations: 1.63 MB / 1.354 GB, free: 2.758 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.536/8.893, allocations: 9.203 kB / 1.354 GB, free: 2.75 MB / 1.045 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable cmpAll in file Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv. Warning: Get data of variable cmpAll from file Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.570053583942354]