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.0007892/0.0007892, 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.0008235/0.0008235, allocations: 169.9 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.891/0.891, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.712/1.712, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.36e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0009572/0.0009708, allocations: 0.5369 MB / 0.951 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003122/0.001283, allocations: 148.1 kB / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.001306, allocations: 3.938 kB / 0.9511 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.001323, allocations: 0 / 0.9511 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.001507, allocations: 11.92 kB / 0.9511 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.803e-05/0.001555, allocations: 27.84 kB / 0.9512 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.994e-05/0.001615, allocations: 31.84 kB / 0.9512 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.001653, allocations: 0 / 0.9512 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.379e-05/0.001687, allocations: 15.98 kB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.001961, allocations: 340.5 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.001977, allocations: 8 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.075e-05/0.002028, allocations: 8 kB / 0.9515 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.00204, allocations: 4 kB / 0.9515 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.002059, allocations: 15.91 kB / 0.9516 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.002162, allocations: 35.89 kB / 0.9516 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.002164, allocations: 0 / 0.9516 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.52e-07/0.002164, allocations: 0 / 0.9516 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.002169, allocations: 0 / 0.9516 GB, free: 2.371 MB / 0.9011 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.0002745/0.002443, allocations: 271.8 kB / 0.9519 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.002485, allocations: 12.03 kB / 0.9519 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.002519, allocations: 42.67 kB / 0.9519 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.002554, allocations: 12.89 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.32e-05/0.002637, allocations: 117.6 kB / 0.952 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.002648, allocations: 384 / 0.952 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.002658, allocations: 8.375 kB / 0.952 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.002769, allocations: 50.23 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.002777, allocations: 192 / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.002788, allocations: 3.938 kB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.002793, allocations: 4 kB / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.839e-05/0.002832, allocations: 12 kB / 0.9521 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.00313, allocations: 251.9 kB / 0.9524 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.933e-05/0.003169, allocations: 14.58 kB / 0.9524 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.003187, allocations: 20.91 kB / 0.9524 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.003194, allocations: 0 / 0.9524 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.003212, allocations: 30.56 kB / 0.9524 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.003213, allocations: 0 / 0.9524 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001223/0.003335, allocations: 37.64 kB / 0.9524 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.003367, allocations: 51.41 kB / 0.9525 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/0.003464, allocations: 148.8 kB / 0.9526 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.003474, allocations: 25.7 kB / 0.9527 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.003525, allocations: 104 kB / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-06/0.003531, allocations: 4.078 kB / 0.9528 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.003563, allocations: 29.7 kB / 0.9528 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.34e-05/0.003647, allocations: 322.8 kB / 0.9531 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.003666, allocations: 11.92 kB / 0.9531 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.803e-05/0.003684, allocations: 12 kB / 0.9531 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.184e-05/0.003716, allocations: 16.86 kB / 0.9531 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.003717, allocations: 0 / 0.9531 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.696e-05/0.003794, allocations: 65.58 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.003809, allocations: 8 kB / 0.9532 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.003818, allocations: 7.969 kB / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.003834, allocations: 0 / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.731e-05/0.003851, allocations: 4 kB / 0.9532 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.003857, allocations: 0 / 0.9532 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.003874, allocations: 4 kB / 0.9532 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.003881, allocations: 3.938 kB / 0.9532 GB, free: 0.5078 MB / 0.9011 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 6.243e-05/0.003944, allocations: 117.8 kB / 0.9533 GB, free: 392 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.003957, allocations: 7.953 kB / 0.9534 GB, free: 384 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.003977, allocations: 7.453 kB / 0.9534 GB, free: 372 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.003979, allocations: 0 / 0.9534 GB, free: 372 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.003982, allocations: 192 / 0.9534 GB, free: 372 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.003986, allocations: 0 / 0.9534 GB, free: 372 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.004187, allocations: 345.7 kB / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.004188, allocations: 0 / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-06/0.00419, allocations: 0 / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.004191, allocations: 0 / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.004198, allocations: 0 / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004198, allocations: 0 / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.004199, allocations: 0 / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.197e-05/0.004251, allocations: 65.02 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.004257, allocations: 7.938 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.004271, allocations: 3.984 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-06/0.004278, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.004301, allocations: 12 kB / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-06/0.004302, allocations: 0 / 0.9538 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.004348, allocations: 103.2 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004348, allocations: 4 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001485/0.004496, allocations: 15.94 kB / 0.9539 GB, free: 15.75 MB / 0.9167 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.0003491/0.004845, allocations: 0.6198 MB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.939e-05/0.004925, allocations: 23.92 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.004926, allocations: 0 / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/0.00493, allocations: 0 / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.005037, allocations: 11.94 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.005291, allocations: 142.4 kB / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.205e-05/0.005333, allocations: 71.33 kB / 0.9547 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.898e-05/0.005352, allocations: 12.06 kB / 0.9547 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.005381, allocations: 16.56 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of SimCode: time 2.71e-07/0.005381, allocations: 0 / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.02028, allocations: 2.279 MB / 0.957 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.161, allocations: 6.922 kB / 0.957 GB, free: 12.62 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv: Error: Error opening file: Buildings_11_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.219651703722775]