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.0008405/0.0008405, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008649/0.0008649, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8812/0.8812, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.764/1.764, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.166e-05, allocations: 4.391 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001243/0.001264, allocations: 0.5285 MB / 1 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00035/0.001614, allocations: 152 kB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.001643, allocations: 0 / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.001662, allocations: 3.938 kB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.001878, allocations: 15.8 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.491e-05/0.001933, allocations: 27.91 kB / 1 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.11e-05/0.001994, allocations: 27.91 kB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.002044, allocations: 8 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.596e-05/0.00208, allocations: 15.92 kB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.002379, allocations: 336 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.002396, allocations: 0 / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.002459, allocations: 8 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.002474, allocations: 11.94 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.002495, allocations: 11.97 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.002601, allocations: 39.77 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.002603, allocations: 0 / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.283e-06/0.002605, allocations: 4 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.002609, allocations: 4 kB / 1.001 GB, free: 12.38 MB / 0.9636 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.0002618/0.002871, allocations: 270.2 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.00291, allocations: 8.031 kB / 1.001 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.012e-05/0.00294, allocations: 34.75 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.002972, allocations: 8.875 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.635e-05/0.003049, allocations: 109.7 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.003058, allocations: 384 / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.003068, allocations: 8.375 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.003174, allocations: 54.17 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.003181, allocations: 4.125 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.00319, allocations: 7.938 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.003195, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.829e-05/0.003233, allocations: 12 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.003518, allocations: 248 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/0.003557, allocations: 22.56 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.003573, allocations: 12.8 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-06/0.003582, allocations: 3.984 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.003602, allocations: 34.62 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.003603, allocations: 0 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.003727, allocations: 45.69 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.003758, allocations: 51.41 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.003854, allocations: 139 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.003863, allocations: 25.7 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.003908, allocations: 104 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-06/0.003913, allocations: 4 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.003947, allocations: 25.7 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.161e-05/0.004028, allocations: 318.8 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.004056, allocations: 11.94 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.004074, allocations: 12.11 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.004107, allocations: 20.86 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.00411, allocations: 4.031 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.906e-05/0.004199, allocations: 65.64 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.004213, allocations: 4 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.004218, allocations: 0 / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.00423, allocations: 0 / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-05/0.004253, allocations: 11.92 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.004258, allocations: 0 / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.004277, allocations: 0 / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.004284, allocations: 4 kB / 1.002 GB, free: 10.54 MB / 0.9636 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 5.963e-05/0.004344, allocations: 117.8 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.004359, allocations: 11.95 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.004379, allocations: 7.453 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.004382, allocations: 4 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.004386, allocations: 0 / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.004388, allocations: 0 / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.004587, allocations: 329.8 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.004588, allocations: 0 / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-06/0.004594, allocations: 3.938 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.004596, allocations: 0 / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.004601, allocations: 0 / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.004603, allocations: 4 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.004605, allocations: 7.969 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.973e-05/0.004654, allocations: 65.02 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.00466, allocations: 3.953 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.00467, allocations: 4.062 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.004678, allocations: 7.938 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.004696, allocations: 3.938 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.004698, allocations: 0 / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.004747, allocations: 113.4 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.004747, allocations: 0 / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001487/0.004896, allocations: 12 kB / 1.003 GB, free: 9.773 MB / 0.9636 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.0003774/0.005273, allocations: 0.6111 MB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.449e-05/0.005358, allocations: 19.98 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.00536, allocations: 0 / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.005367, allocations: 11.94 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.005482, allocations: 7.969 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.005763, allocations: 159.1 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.005811, allocations: 71.23 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.005834, allocations: 8.125 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.005869, allocations: 16.5 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of SimCode: time 7.22e-07/0.00587, allocations: 0 / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.02284, allocations: 2.278 MB / 1.006 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.992/7.015, allocations: 13.03 kB / 1.006 GB, free: 6.621 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv: Error: Error opening file: Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,cmpAll Variables in the result: [Calling sys.exit(0), Time elapsed: 11.144526035524905]