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.001868/0.001868, allocations: 113 kB / 16.46 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.001686/0.001686, 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.56/1.56, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.234/3.234, allocations: 0.49 GB / 0.7916 GB, free: 33.16 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: "" <> 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: 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.001972/0.001972, allocations: 71.22 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3298, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001885/0.3317, allocations: 0.5271 MB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004606/0.3322, allocations: 152.5 kB / 1.321 GB, free: 2.688 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.3322, allocations: 0 / 1.321 GB, free: 2.688 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.3322, allocations: 7.938 kB / 1.321 GB, free: 2.68 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.3324, allocations: 15.92 kB / 1.321 GB, free: 2.664 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.862e-05/0.3325, allocations: 27.91 kB / 1.321 GB, free: 2.637 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.355e-05/0.3325, allocations: 23.92 kB / 1.322 GB, free: 2.613 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.3326, allocations: 0 / 1.322 GB, free: 2.613 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.429e-05/0.3326, allocations: 11.94 kB / 1.322 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.333, allocations: 336.4 kB / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.333, allocations: 0 / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.595e-05/0.333, allocations: 12 kB / 1.322 GB, free: 2.277 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.3331, allocations: 11.98 kB / 1.322 GB, free: 2.266 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.3331, allocations: 19.86 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.3332, allocations: 36.11 kB / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3332, allocations: 0 / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3332, allocations: 0 / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3332, allocations: 0 / 1.322 GB, free: 2.211 MB / 1.014 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.0003772/0.3336, allocations: 355.2 kB / 1.322 GB, free: 1.816 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3336, allocations: 12.03 kB / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.3337, allocations: 34.73 kB / 1.322 GB, free: 1.762 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.3337, allocations: 4.891 kB / 1.322 GB, free: 1.758 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.3338, allocations: 180.2 kB / 1.322 GB, free: 1.543 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3338, allocations: 8.375 kB / 1.322 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.3339, allocations: 4.375 kB / 1.322 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.334, allocations: 57.61 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.334, allocations: 0 / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.334, allocations: 0 / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.334, allocations: 0 / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.176e-05/0.3341, allocations: 15.98 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.3345, allocations: 272.9 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.312e-05/0.3345, allocations: 26.58 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.3345, allocations: 4.859 kB / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.3345, allocations: 0 / 1.323 GB, free: 1.094 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.3346, allocations: 30.56 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.3346, allocations: 0 / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001517/0.3347, allocations: 49.52 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3348, allocations: 55.53 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3349, allocations: 143.9 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3349, allocations: 25.7 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.335, allocations: 92.09 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-06/0.335, allocations: 3.938 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.335, allocations: 25.7 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3352, allocations: 322.8 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.3352, allocations: 8 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.703e-05/0.3352, allocations: 15.98 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.968e-05/0.3352, allocations: 16.86 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3352, allocations: 4 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001183/0.3354, allocations: 65.58 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3354, allocations: 4 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3354, allocations: 0 / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3354, allocations: 0 / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.011e-05/0.3354, allocations: 4 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.3354, allocations: 7.922 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.3355, allocations: 3.938 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3355, allocations: 4 kB / 1.324 GB, free: 164 kB / 1.014 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 7.866e-05/0.3355, allocations: 117.8 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.3356, allocations: 3.953 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.3356, allocations: 7.719 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.3356, allocations: 0 / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3356, allocations: 4 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3356, allocations: 3.938 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.3359, allocations: 362.7 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3359, allocations: 4.031 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-06/0.3359, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3359, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.3359, allocations: 3.938 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3359, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3359, allocations: 4 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.361e-05/0.336, allocations: 61.08 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.3361, allocations: 81.09 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.3361, allocations: 7.938 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.3361, allocations: 4 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.3361, allocations: 11.92 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.3361, allocations: 0 / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.914e-05/0.3362, allocations: 95.27 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3362, allocations: 0 / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002037/0.3364, allocations: 19.94 kB / 1.324 GB, free: 15.27 MB / 1.029 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.0005412/0.3369, allocations: 0.6212 MB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.337, allocations: 27.86 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.337, allocations: 0 / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.294e-06/0.337, allocations: 8.031 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.3372, allocations: 1.562 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.3375, allocations: 154.4 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.3379, allocations: 0.6883 MB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.792e-05/0.3379, allocations: 8.125 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.3379, allocations: 15.44 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3379, allocations: 0 / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.3635, allocations: 1.616 MB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.383/8.747, allocations: 4.062 kB / 1.328 GB, free: 12.14 MB / 1.029 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv. Warning: Get data of variable cmpAll from file Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.56086365901865]