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.00191/0.00191, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002325/0.002325, allocations: 216.4 kB / 22.24 MB, free: 5.258 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.809 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.317/3.317, allocations: 0.49 GB / 0.7951 GB, free: 35.5 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.002737/0.002737, allocations: 70.05 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4111, allocations: 176.1 MB / 1.326 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.002126/0.4132, allocations: 0.5352 MB / 1.326 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005792/0.4138, allocations: 160.4 kB / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.4138, allocations: 0 / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.4138, allocations: 0 / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.4141, allocations: 15.88 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.524e-05/0.4141, allocations: 19.98 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.828e-05/0.4142, allocations: 27.91 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.243e-05/0.4143, allocations: 3.984 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.4143, allocations: 11.94 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005812/0.4149, allocations: 329 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.4149, allocations: 4 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.84e-05/0.415, allocations: 16 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.415, allocations: 7.984 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.415, allocations: 15.86 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.4152, allocations: 36.11 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4152, allocations: 3.938 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4152, allocations: 0 / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.4152, allocations: 4 kB / 1.327 GB, free: 432 kB / 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.0003892/0.4156, allocations: 275.1 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4156, allocations: 11.98 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.4157, allocations: 38.75 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.4157, allocations: 8.891 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.4159, allocations: 118.4 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.4159, allocations: 8.359 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.4159, allocations: 384 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.416, allocations: 57.62 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.416, allocations: 0 / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.416, allocations: 3.984 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.416, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.725e-05/0.4161, allocations: 23.88 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.4164, allocations: 240 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.048e-05/0.4165, allocations: 18.58 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.4165, allocations: 8.859 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.4165, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.4165, allocations: 38.61 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.4165, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.4167, allocations: 37.59 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.4167, allocations: 55.41 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.4168, allocations: 143.6 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.4169, allocations: 25.7 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.4169, allocations: 92.03 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.326e-06/0.4169, allocations: 8.109 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.417, allocations: 25.72 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4171, allocations: 322.8 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.4171, allocations: 8 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.412e-05/0.4172, allocations: 11.98 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.968e-05/0.4172, allocations: 20.8 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4172, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001097/0.4173, allocations: 65.64 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.4173, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.4173, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.4173, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.321e-05/0.4174, allocations: 11.98 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4174, allocations: 3.938 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.4174, allocations: 7.891 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.4174, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 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.268e-05/0.4175, allocations: 113.8 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.4175, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.4175, allocations: 11.41 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.4175, allocations: 192 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.4176, allocations: 7.984 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4176, allocations: 3.938 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.4179, allocations: 329.9 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4179, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-06/0.4179, allocations: 3.938 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4179, allocations: 4 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.4179, allocations: 3.938 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.4179, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4179, allocations: 0 / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.959e-05/0.4179, allocations: 65.02 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.418, allocations: 7.953 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.418, allocations: 7.938 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.418, allocations: 4.062 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.418, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-06/0.418, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.349e-05/0.4181, allocations: 106.1 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4181, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002004/0.4183, allocations: 15.94 kB / 1.329 GB, free: 13.8 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.0006325/0.4189, allocations: 0.631 MB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.419, allocations: 23.92 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.419, allocations: 0 / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.633e-06/0.419, allocations: 4 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.4192, allocations: 7.844 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.4196, allocations: 150.6 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.809e-05/0.4196, allocations: 63.34 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.4197, allocations: 12.11 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.4197, allocations: 23.5 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4197, allocations: 0 / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.4485, allocations: 2.165 MB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.86, allocations: 5.969 kB / 1.332 GB, free: 10.79 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.964329378999537]