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.001314/0.001314, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001385/0.001385, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.519/1.519, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.132/3.132, allocations: 0.5003 GB / 0.8026 GB, free: 6.781 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="cs",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.002022/0.002022, allocations: 63.91 kB / 1.165 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9515/0.9535, allocations: 179 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001664/0.9552, allocations: 0.5371 MB / 1.341 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004281/0.9556, allocations: 148.1 kB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.9556, allocations: 0 / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.9557, allocations: 3.938 kB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.9559, allocations: 15.41 kB / 1.341 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.312e-05/0.9559, allocations: 28.05 kB / 1.341 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.597e-05/0.956, allocations: 24.28 kB / 1.341 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.9561, allocations: 2.922 kB / 1.341 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.9561, allocations: 22.84 kB / 1.341 GB, free: 15.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.9566, allocations: 319.3 kB / 1.341 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.9566, allocations: 1.156 kB / 1.341 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.585e-05/0.9566, allocations: 14.47 kB / 1.341 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.9567, allocations: 7.797 kB / 1.341 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.9567, allocations: 19.66 kB / 1.341 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.9568, allocations: 37.05 kB / 1.341 GB, free: 15.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.9568, allocations: 1.5 kB / 1.341 GB, free: 15.61 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9568, allocations: 0 / 1.341 GB, free: 15.61 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.9568, allocations: 0 / 1.341 GB, free: 15.61 MB / 1.061 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.0003071/0.9571, allocations: 351 kB / 1.342 GB, free: 15.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9571, allocations: 13 kB / 1.342 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.392e-05/0.9572, allocations: 1.438 kB / 1.342 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.09e-05/0.9572, allocations: 36.48 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.9572, allocations: 11.67 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.969e-05/0.9573, allocations: 169.1 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.9573, allocations: 1.531 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.9573, allocations: 10.22 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.9575, allocations: 46.38 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9575, allocations: 0 / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.9575, allocations: 5.156 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.9575, allocations: 1.281 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.9575, allocations: 20.42 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.9578, allocations: 281 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.1e-05/0.9579, allocations: 20.8 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.9579, allocations: 9.859 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.9579, allocations: 1.922 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.9579, allocations: 31.84 kB / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.9579, allocations: 0 / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001426/0.958, allocations: 37.81 kB / 1.342 GB, free: 14.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.9581, allocations: 51.97 kB / 1.342 GB, free: 14.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.9582, allocations: 145.3 kB / 1.342 GB, free: 14.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.112e-06/0.9582, allocations: 25.7 kB / 1.342 GB, free: 14.31 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.9582, allocations: 96.84 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.224e-06/0.9582, allocations: 9.703 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.9583, allocations: 25.55 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.9583, allocations: 314.3 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.716e-05/0.9583, allocations: 14.92 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.9583, allocations: 12.69 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.6e-05/0.9584, allocations: 18.08 kB / 1.343 GB, free: 13.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9584, allocations: 0 / 1.343 GB, free: 13.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001004/0.9585, allocations: 60.06 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.9585, allocations: 5.047 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.9585, allocations: 1.25 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.9585, allocations: 0 / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.356e-05/0.9585, allocations: 11.42 kB / 1.343 GB, free: 13.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.9585, allocations: 5.188 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.9586, allocations: 13.05 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.9586, allocations: 2.047 kB / 1.343 GB, free: 13.79 MB / 1.061 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 4.711e-05/0.9586, allocations: 113.1 kB / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.9587, allocations: 2.531 kB / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.9587, allocations: 14.61 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.9587, allocations: 1.312 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.9587, allocations: 0 / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.9587, allocations: 4.547 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.9589, allocations: 364.8 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9589, allocations: 2.172 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-06/0.9589, allocations: 4 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9589, allocations: 1.031 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.9589, allocations: 4.734 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.9589, allocations: 0 / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9589, allocations: 1.125 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.649e-05/0.959, allocations: 62.27 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.959, allocations: 82.83 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.959, allocations: 9.734 kB / 1.344 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.266e-05/0.959, allocations: 0 / 1.344 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.959, allocations: 3.047 kB / 1.344 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.959, allocations: 0 / 1.344 GB, free: 13.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.9591, allocations: 104.9 kB / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9591, allocations: 0.9688 kB / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002132/0.9593, allocations: 9.422 kB / 1.344 GB, free: 13 MB / 1.061 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.0003763/0.9597, allocations: 0.6227 MB / 1.344 GB, free: 12.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.9598, allocations: 23.22 kB / 1.344 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9598, allocations: 0 / 1.344 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-06/0.9598, allocations: 6.594 kB / 1.344 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.9599, allocations: 7.078 kB / 1.344 GB, free: 12.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.9603, allocations: 155.6 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.794e-05/0.9604, allocations: 0.6816 MB / 1.345 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.9604, allocations: 9.578 kB / 1.345 GB, free: 11.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.9604, allocations: 19.61 kB / 1.345 GB, free: 11.5 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.9604, allocations: 0 / 1.345 GB, free: 11.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.9792, allocations: 1.654 MB / 1.347 GB, free: 11.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.828/9.807, allocations: 18 kB / 1.347 GB, free: 11 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.485754160035867]