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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007742/0.007742, allocations: 168.6 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.356/2.356, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 6.969 kB / 0.9029 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2601, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0006451/0.2607, allocations: 266.2 kB / 1.059 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000429/0.2612, allocations: 148.2 kB / 1.059 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.797e-05/0.2612, allocations: 4 kB / 1.059 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.2613, allocations: 3.938 kB / 1.059 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.2614, allocations: 7.938 kB / 1.059 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.018e-05/0.2615, allocations: 19.97 kB / 1.059 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.448e-05/0.2616, allocations: 27.86 kB / 1.059 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.2616, allocations: 4 kB / 1.059 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.2616, allocations: 11.94 kB / 1.059 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.262, allocations: 331.2 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.262, allocations: 0 / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.804e-05/0.2621, allocations: 20 kB / 1.06 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.2621, allocations: 11.92 kB / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.2622, allocations: 45.56 kB / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.162e-05/0.2623, allocations: 31.89 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2623, allocations: 4 kB / 1.06 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2623, allocations: 0 / 1.06 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.2623, allocations: 0 / 1.06 GB, free: 3.965 MB / 0.8106 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.0002963/0.2626, allocations: 335.7 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2626, allocations: 11.98 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.2627, allocations: 30.75 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.2627, allocations: 12.84 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2628, allocations: 172.3 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2629, allocations: 4.312 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.2629, allocations: 8.375 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.263, allocations: 49.62 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.263, allocations: 0 / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.263, allocations: 3.938 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.263, allocations: 4 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.151e-05/0.2631, allocations: 15.98 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.2634, allocations: 284.8 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.58e-05/0.2635, allocations: 18.52 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.2635, allocations: 12.86 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.2635, allocations: 0 / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.2635, allocations: 30.56 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2635, allocations: 0 / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001325/0.2637, allocations: 45.61 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.2637, allocations: 51.41 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2638, allocations: 140.5 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2638, allocations: 29.64 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.2639, allocations: 91.98 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/0.2639, allocations: 7.906 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.2639, allocations: 13.72 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.264, allocations: 322.8 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.381e-05/0.2641, allocations: 12.12 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/0.2641, allocations: 15.98 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.2642, allocations: 16.86 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2642, allocations: 0 / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001027/0.2643, allocations: 53.69 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2643, allocations: 4 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2643, allocations: 4 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2643, allocations: 0 / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.347e-05/0.2643, allocations: 11.92 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2643, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.2644, allocations: 15.84 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.2644, allocations: 0 / 1.061 GB, free: 1.941 MB / 0.8106 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.485e-05/0.2645, allocations: 110.7 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.2645, allocations: 0 / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.2645, allocations: 11.53 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2645, allocations: 0 / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2645, allocations: 0 / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2645, allocations: 3.938 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.2648, allocations: 370.5 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2648, allocations: 192 / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-06/0.2648, allocations: 4 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2649, allocations: 4 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2649, allocations: 3.938 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2649, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2649, allocations: 3.984 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.115e-05/0.265, allocations: 61.17 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.265, allocations: 89 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.265, allocations: 7.938 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.5e-05/0.265, allocations: 3.984 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.2651, allocations: 0 / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.2651, allocations: 3.938 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.638e-05/0.2651, allocations: 103.2 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2651, allocations: 0 / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001985/0.2653, allocations: 12 kB / 1.062 GB, free: 1.059 MB / 0.8106 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.0004467/0.2658, allocations: 0.6232 MB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.245e-05/0.2659, allocations: 19.94 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2659, allocations: 4.031 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.908e-05/0.2659, allocations: 11.92 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.2661, allocations: 7.906 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.2664, allocations: 152.3 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.2666, allocations: 0.6849 MB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.2667, allocations: 12.11 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.2667, allocations: 15.44 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2667, allocations: 0 / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3634/0.6301, allocations: 1.351 MB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003051/0.6304, allocations: 253.7 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.354, allocations: 3.938 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) 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) Reference file matches