Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002175/0.002175, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003012/0.003012, allocations: 214.7 kB / 22.25 MB, free: 4.859 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.791/2.791, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_11_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.002119/0.002119, allocations: 71.39 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3068, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001889/0.3087, allocations: 0.5458 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005992/0.3093, allocations: 156.2 kB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.182e-05/0.3093, allocations: 0 / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.3093, allocations: 3.938 kB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.3096, allocations: 7.938 kB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.459e-05/0.3097, allocations: 27.92 kB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.064e-05/0.3098, allocations: 31.84 kB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.3098, allocations: 4 kB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.727e-05/0.3098, allocations: 7.938 kB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004379/0.3103, allocations: 319.1 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.3103, allocations: 4 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.187e-05/0.3104, allocations: 12 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.3104, allocations: 4 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.3104, allocations: 11.88 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.3106, allocations: 39.39 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3106, allocations: 0 / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3106, allocations: 0 / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3106, allocations: 7.938 kB / 1.284 GB, free: 11.34 MB / 0.9825 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.0003775/0.3109, allocations: 278.1 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.311, allocations: 11.89 kB / 1.284 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.311, allocations: 38.69 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.3111, allocations: 8.891 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3112, allocations: 114.4 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.3112, allocations: 8.375 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.3112, allocations: 384 / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.3114, allocations: 53.61 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3114, allocations: 0 / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.3114, allocations: 0 / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3114, allocations: 0 / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.3114, allocations: 19.98 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.3118, allocations: 244 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.3119, allocations: 22.52 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.3119, allocations: 8.859 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.3119, allocations: 0 / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.3119, allocations: 34.62 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3119, allocations: 0 / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001476/0.3121, allocations: 41.59 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.3121, allocations: 59.39 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3123, allocations: 137.8 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3123, allocations: 25.7 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.3123, allocations: 92.03 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/0.3124, allocations: 4.125 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.3124, allocations: 29.7 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.3126, allocations: 322.8 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.3126, allocations: 16 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.3127, allocations: 4 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.239e-05/0.3127, allocations: 20.84 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3127, allocations: 0 / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001298/0.3128, allocations: 69.58 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3128, allocations: 4 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3128, allocations: 0 / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3129, allocations: 0 / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.402e-05/0.3129, allocations: 8 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3129, allocations: 0 / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.3129, allocations: 3.938 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.3129, allocations: 19.86 kB / 1.285 GB, free: 9.477 MB / 0.9825 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.786e-05/0.313, allocations: 109.8 kB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.313, allocations: 3.953 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.3131, allocations: 11.47 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3131, allocations: 0 / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3131, allocations: 0 / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3131, allocations: 7.922 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.3134, allocations: 333.8 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3134, allocations: 0 / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-06/0.3134, allocations: 0 / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3134, allocations: 4 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3134, allocations: 4.125 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3134, allocations: 4 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3134, allocations: 0 / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.66e-05/0.3135, allocations: 61.09 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.3135, allocations: 3.953 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3135, allocations: 11.92 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.287e-05/0.3135, allocations: 0 / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.3136, allocations: 8 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-06/0.3136, allocations: 0 / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.118e-05/0.3136, allocations: 106.8 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3136, allocations: 0 / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002055/0.3138, allocations: 11.94 kB / 1.286 GB, free: 8.73 MB / 0.9825 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.0005723/0.3144, allocations: 0.6225 MB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.3145, allocations: 27.86 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3145, allocations: 4 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.833e-06/0.3145, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.3147, allocations: 4 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.3151, allocations: 154.5 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.459e-05/0.3151, allocations: 63.34 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.3152, allocations: 12.06 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.3152, allocations: 23.48 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of SimCode: time 4.5e-07/0.3152, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.3535, allocations: 2.14 MB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.77, allocations: 6.156 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv. Warning: Get data of variable cmpAll from file Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.49019843991846]