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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006096/0.006096, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.001734/0.001734, allocations: 195.2 kB / 16.68 MB, free: 5.969 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.564/2.564, allocations: 482.6 MB / 0.7551 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001692, allocations: 67.8 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2591, allocations: 162.3 MB / 1.242 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001373/0.2605, allocations: 0.5311 MB / 1.242 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003477/0.2608, allocations: 152.4 kB / 1.242 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.2609, allocations: 0 / 1.242 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.2609, allocations: 0 / 1.242 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.2611, allocations: 15.88 kB / 1.242 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.461e-05/0.2611, allocations: 27.95 kB / 1.243 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.396e-05/0.2612, allocations: 23.86 kB / 1.243 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.2612, allocations: 8 kB / 1.243 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.297e-05/0.2613, allocations: 15.92 kB / 1.243 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.2616, allocations: 311.9 kB / 1.243 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.2616, allocations: 4 kB / 1.243 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.701e-05/0.2617, allocations: 12 kB / 1.243 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.2617, allocations: 15.91 kB / 1.243 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.2617, allocations: 11.94 kB / 1.243 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.129e-05/0.2618, allocations: 44.05 kB / 1.243 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2618, allocations: 0 / 1.243 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.886e-06/0.2618, allocations: 0 / 1.243 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2618, allocations: 3.938 kB / 1.243 GB, free: 7.805 MB / 0.9669 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.0003153/0.2622, allocations: 347.2 kB / 1.243 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.2622, allocations: 12.03 kB / 1.243 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.2622, allocations: 34.75 kB / 1.243 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.2623, allocations: 8.875 kB / 1.243 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2624, allocations: 168.3 kB / 1.243 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2624, allocations: 8.375 kB / 1.244 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.2624, allocations: 384 / 1.244 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.2625, allocations: 61.61 kB / 1.244 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.2625, allocations: 0 / 1.244 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.2625, allocations: 0 / 1.244 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2626, allocations: 3.984 kB / 1.244 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.905e-05/0.2626, allocations: 15.94 kB / 1.244 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.2629, allocations: 280.8 kB / 1.244 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.832e-05/0.263, allocations: 22.64 kB / 1.244 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.263, allocations: 8.859 kB / 1.244 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-06/0.263, allocations: 0 / 1.244 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.263, allocations: 30.56 kB / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.263, allocations: 0 / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.2631, allocations: 45.58 kB / 1.244 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.2632, allocations: 55.34 kB / 1.244 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.2633, allocations: 147.5 kB / 1.244 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.2633, allocations: 25.7 kB / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.2634, allocations: 92.09 kB / 1.244 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-06/0.2634, allocations: 0 / 1.244 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.2634, allocations: 25.7 kB / 1.244 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2636, allocations: 322.8 kB / 1.245 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.2636, allocations: 8 kB / 1.245 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/0.2636, allocations: 15.94 kB / 1.245 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.006e-05/0.2637, allocations: 24.78 kB / 1.245 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2637, allocations: 4 kB / 1.245 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.768e-05/0.2638, allocations: 61.64 kB / 1.245 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.2638, allocations: 4 kB / 1.245 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2638, allocations: 0 / 1.245 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2638, allocations: 4 kB / 1.245 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.555e-05/0.2638, allocations: 0 / 1.245 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.2638, allocations: 0 / 1.245 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.2639, allocations: 11.83 kB / 1.245 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.2639, allocations: 7.984 kB / 1.245 GB, free: 5.754 MB / 0.9669 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 7.302e-05/0.264, allocations: 117.8 kB / 1.245 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.264, allocations: 3.938 kB / 1.245 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.778e-05/0.264, allocations: 7.531 kB / 1.245 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.264, allocations: 0 / 1.245 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.264, allocations: 192 / 1.245 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.264, allocations: 3.938 kB / 1.245 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.2643, allocations: 358.8 kB / 1.245 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2643, allocations: 0 / 1.245 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-06/0.2643, allocations: 4.031 kB / 1.245 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.2643, allocations: 0 / 1.245 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.2643, allocations: 3.938 kB / 1.245 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2643, allocations: 0 / 1.245 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2643, allocations: 4 kB / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.251e-05/0.2644, allocations: 69.02 kB / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.2644, allocations: 81.06 kB / 1.245 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.2645, allocations: 7.969 kB / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.247e-05/0.2645, allocations: 0 / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.2645, allocations: 7.938 kB / 1.245 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.2645, allocations: 0 / 1.245 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.877e-05/0.2646, allocations: 104.8 kB / 1.245 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2646, allocations: 0 / 1.245 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001774/0.2648, allocations: 16 kB / 1.245 GB, free: 4.875 MB / 0.9669 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.0004629/0.2652, allocations: 0.6244 MB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.462e-05/0.2653, allocations: 27.92 kB / 1.246 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2653, allocations: 0 / 1.246 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-06/0.2653, allocations: 32 / 1.246 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.2655, allocations: 13.94 kB / 1.246 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.2658, allocations: 146.5 kB / 1.246 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.266, allocations: 0.6846 MB / 1.247 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.642e-05/0.2661, allocations: 8.125 kB / 1.247 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.2661, allocations: 19.44 kB / 1.247 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.2661, allocations: 3.938 kB / 1.247 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2947/0.5609, allocations: 1.604 MB / 1.249 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.642, allocations: 14.06 kB / 1.249 GB, free: 1.758 MB / 0.9669 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=400 --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