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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 102.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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 0.002176/0.002176, allocations: 67.89 kB / 1.104 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8759/0.8781, allocations: 168.7 MB / 1.269 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001965/0.8801, allocations: 0.534 MB / 1.269 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004761/0.8806, allocations: 152.1 kB / 1.269 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.8806, allocations: 4 kB / 1.269 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.8806, allocations: 3.938 kB / 1.269 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.8808, allocations: 7.938 kB / 1.269 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.082e-05/0.8809, allocations: 19.92 kB / 1.269 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.491e-05/0.881, allocations: 35.84 kB / 1.269 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.881, allocations: 4 kB / 1.269 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.335e-05/0.881, allocations: 19.86 kB / 1.269 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.8815, allocations: 317 kB / 1.27 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.8815, allocations: 0 / 1.27 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.988e-05/0.8815, allocations: 19.98 kB / 1.27 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.8816, allocations: 7.938 kB / 1.27 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.8816, allocations: 15.92 kB / 1.27 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.8817, allocations: 41.59 kB / 1.27 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8817, allocations: 0 / 1.27 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8817, allocations: 4 kB / 1.27 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.8817, allocations: 0 / 1.27 GB, free: 4.055 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.0004426/0.8822, allocations: 355.2 kB / 1.27 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.8822, allocations: 8.625 kB / 1.27 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/0.8823, allocations: 30.75 kB / 1.27 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.8823, allocations: 8.891 kB / 1.27 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.8825, allocations: 172.3 kB / 1.27 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.8825, allocations: 8.359 kB / 1.27 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.8825, allocations: 384 / 1.27 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.8826, allocations: 53.62 kB / 1.27 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.8827, allocations: 0 / 1.27 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.8827, allocations: 0 / 1.27 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8827, allocations: 0 / 1.27 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.7e-05/0.8827, allocations: 27.98 kB / 1.27 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.8832, allocations: 276.8 kB / 1.271 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.206e-05/0.8833, allocations: 26.55 kB / 1.271 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.8833, allocations: 8.859 kB / 1.271 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.8833, allocations: 0 / 1.271 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.8833, allocations: 34.62 kB / 1.271 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.8833, allocations: 3.938 kB / 1.271 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001586/0.8835, allocations: 37.64 kB / 1.271 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.8835, allocations: 55.41 kB / 1.271 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.8837, allocations: 140.4 kB / 1.271 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.8837, allocations: 25.7 kB / 1.271 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.8838, allocations: 100.2 kB / 1.271 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-06/0.8838, allocations: 0 / 1.271 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.8838, allocations: 29.66 kB / 1.271 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.884, allocations: 322.8 kB / 1.272 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/0.884, allocations: 11.98 kB / 1.272 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-05/0.884, allocations: 8 kB / 1.272 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/0.8841, allocations: 16.86 kB / 1.272 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8841, allocations: 0 / 1.272 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001191/0.8842, allocations: 65.62 kB / 1.272 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.8842, allocations: 11.98 kB / 1.272 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.8842, allocations: 0 / 1.272 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.8842, allocations: 0 / 1.272 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.073e-05/0.8843, allocations: 0 / 1.272 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.8843, allocations: 4 kB / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.8843, allocations: 11.89 kB / 1.272 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.8843, allocations: 0 / 1.272 GB, free: 2.008 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 9.91e-05/0.8844, allocations: 117.7 kB / 1.272 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.8844, allocations: 7.953 kB / 1.272 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.8845, allocations: 15.52 kB / 1.272 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.8845, allocations: 0 / 1.272 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8845, allocations: 0 / 1.272 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.8845, allocations: 3.938 kB / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.8848, allocations: 358.9 kB / 1.272 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.8848, allocations: 4 kB / 1.272 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-06/0.8848, allocations: 4 kB / 1.272 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.8848, allocations: 0 / 1.272 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.8848, allocations: 7.969 kB / 1.272 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8848, allocations: 0 / 1.272 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8848, allocations: 0 / 1.272 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.952e-05/0.8849, allocations: 61.08 kB / 1.272 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.885, allocations: 85.05 kB / 1.272 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.885, allocations: 7.875 kB / 1.272 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.268e-05/0.885, allocations: 7.938 kB / 1.272 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.885, allocations: 4.031 kB / 1.272 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/0.885, allocations: 0 / 1.272 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.629e-05/0.8851, allocations: 103.3 kB / 1.272 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8851, allocations: 0 / 1.272 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002072/0.8853, allocations: 8 kB / 1.272 GB, free: 1.113 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.0006465/0.886, allocations: 0.6301 MB / 1.273 GB, free: 476 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.8861, allocations: 23.88 kB / 1.273 GB, free: 452 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8861, allocations: 0 / 1.273 GB, free: 452 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.013e-06/0.8861, allocations: 0 / 1.273 GB, free: 452 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.8862, allocations: 8 kB / 1.273 GB, free: 444 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.8866, allocations: 154.4 kB / 1.273 GB, free: 248 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.8871, allocations: 0.6807 MB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.8871, allocations: 12.12 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.8872, allocations: 15.42 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8872, allocations: 0 / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.9131, allocations: 1.633 MB / 1.275 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/9.345, allocations: 1.75 kB / 1.275 GB, free: 13.97 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.419905629940331]