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.00177/0.00177, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002141/0.002141, allocations: 215.1 kB / 22.25 MB, free: 5.129 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 8.008 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.347/3.347, allocations: 0.505 GB / 0.8101 GB, free: 22.08 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.002978/0.002978, allocations: 67.86 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3939, allocations: 180.2 MB / 1.353 GB, free: 8.559 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001843/0.3957, allocations: 0.5336 MB / 1.353 GB, free: 8.027 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005086/0.3962, allocations: 164.4 kB / 1.354 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.3962, allocations: 0 / 1.354 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.3963, allocations: 3.938 kB / 1.354 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.3965, allocations: 15.86 kB / 1.354 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.591e-05/0.3966, allocations: 27.91 kB / 1.354 GB, free: 7.816 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.399e-05/0.3966, allocations: 19.92 kB / 1.354 GB, free: 7.797 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.3967, allocations: 4 kB / 1.354 GB, free: 7.793 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.644e-05/0.3967, allocations: 15.92 kB / 1.354 GB, free: 7.777 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.3972, allocations: 319.4 kB / 1.354 GB, free: 7.484 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.3972, allocations: 4 kB / 1.354 GB, free: 7.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.3973, allocations: 12 kB / 1.354 GB, free: 7.469 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.3973, allocations: 19.91 kB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.3973, allocations: 11.88 kB / 1.354 GB, free: 7.438 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.3974, allocations: 36.11 kB / 1.354 GB, free: 7.402 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3974, allocations: 0 / 1.354 GB, free: 7.402 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3974, allocations: 0 / 1.354 GB, free: 7.402 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.3974, allocations: 0 / 1.354 GB, free: 7.402 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.0004118/0.3979, allocations: 282.1 kB / 1.354 GB, free: 7.098 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.3979, allocations: 12.03 kB / 1.354 GB, free: 7.086 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.398, allocations: 34.73 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.398, allocations: 12.83 kB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.3981, allocations: 118.4 kB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3982, allocations: 4.375 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3982, allocations: 384 / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3983, allocations: 57.55 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3983, allocations: 0 / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3983, allocations: 4 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3983, allocations: 0 / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.863e-05/0.3984, allocations: 16 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.3988, allocations: 255.9 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.196e-05/0.3988, allocations: 18.58 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.3989, allocations: 4.859 kB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.3989, allocations: 0 / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.3989, allocations: 38.62 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.3989, allocations: 0 / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001599/0.399, allocations: 41.62 kB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.3991, allocations: 51.41 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.3992, allocations: 140.3 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3993, allocations: 25.7 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.3993, allocations: 92.09 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.859e-06/0.3993, allocations: 8.062 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.3994, allocations: 25.7 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3995, allocations: 326.8 kB / 1.355 GB, free: 5.684 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.582e-05/0.3996, allocations: 8 kB / 1.355 GB, free: 5.676 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.3996, allocations: 8 kB / 1.355 GB, free: 5.668 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.102e-05/0.3996, allocations: 20.97 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3996, allocations: 4 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001134/0.3998, allocations: 69.56 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3998, allocations: 8 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3998, allocations: 7.984 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3998, allocations: 0 / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.006e-05/0.3998, allocations: 0 / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3998, allocations: 0 / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.3999, allocations: 11.89 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.3999, allocations: 7.984 kB / 1.356 GB, free: 5.531 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 9.447e-05/0.4, allocations: 109.8 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.4, allocations: 4 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.4, allocations: 7.469 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4, allocations: 7.938 kB / 1.356 GB, free: 5.391 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4, allocations: 3.938 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4, allocations: 3.938 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.4004, allocations: 333.7 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4004, allocations: 0 / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-06/0.4004, allocations: 4 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.4004, allocations: 0 / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.4004, allocations: 3.938 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.4004, allocations: 32 / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4004, allocations: 4 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.45e-05/0.4005, allocations: 65.06 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.4005, allocations: 3.953 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.4005, allocations: 7.938 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.24e-05/0.4005, allocations: 0 / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.4005, allocations: 0 / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.4005, allocations: 0 / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.637e-05/0.4006, allocations: 111.3 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4006, allocations: 0 / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002193/0.4008, allocations: 11.94 kB / 1.356 GB, free: 4.777 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.0007284/0.4016, allocations: 0.6099 MB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.4017, allocations: 31.86 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.4017, allocations: 0 / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.973e-06/0.4017, allocations: 0 / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.4019, allocations: 9.719 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.4023, allocations: 142.5 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.4028, allocations: 0.6885 MB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.4028, allocations: 4 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.4029, allocations: 15.44 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.4029, allocations: 0 / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.4318, allocations: 1.761 MB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.11, allocations: 3.109 kB / 1.359 GB, free: 1.57 MB / 1.045 GB " [Timeout remaining time 289] (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: 18.16451055000016]