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.00179/0.00179, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.00203/0.00203, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.455/1.455, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.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.727/2.727, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 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.001962/0.001962, allocations: 71.89 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9353/0.9372, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001598/0.9388, allocations: 0.5408 MB / 1.272 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003946/0.9392, allocations: 159.2 kB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.9393, allocations: 0 / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.9393, allocations: 4.875 kB / 1.272 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.9395, allocations: 7 kB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.853e-05/0.9395, allocations: 31.73 kB / 1.272 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.811e-05/0.9396, allocations: 25.06 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.9396, allocations: 4.031 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.586e-05/0.9397, allocations: 16.61 kB / 1.272 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/0.9401, allocations: 329.2 kB / 1.273 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.9401, allocations: 1.781 kB / 1.273 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.688e-05/0.9402, allocations: 18.94 kB / 1.273 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.9402, allocations: 10.55 kB / 1.273 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.9402, allocations: 13.52 kB / 1.273 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.9403, allocations: 44.25 kB / 1.273 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.9404, allocations: 0.75 kB / 1.273 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9404, allocations: 0 / 1.273 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.9404, allocations: 0 / 1.273 GB, free: 7.031 MB / 0.9981 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.0003396/0.9407, allocations: 352.1 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.9408, allocations: 10.83 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.9408, allocations: 36.19 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.9408, allocations: 3.812 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.055e-05/0.9409, allocations: 176.7 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.9409, allocations: 1.188 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.9409, allocations: 7.359 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.9411, allocations: 53.8 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9411, allocations: 0.8438 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.9411, allocations: 0.75 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9411, allocations: 0.9062 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.879e-05/0.9411, allocations: 16.39 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.9415, allocations: 276.8 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.5e-05/0.9415, allocations: 25.94 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.9415, allocations: 5.797 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.9415, allocations: 0.8125 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.9416, allocations: 36.02 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.9416, allocations: 3.984 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001389/0.9417, allocations: 41.27 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.9417, allocations: 52.8 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.9418, allocations: 141.5 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.9418, allocations: 26.67 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.9419, allocations: 100 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.9419, allocations: 5.516 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.9419, allocations: 25.09 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.426e-05/0.942, allocations: 322.5 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.942, allocations: 7 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.681e-05/0.942, allocations: 12.97 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.9421, allocations: 21.89 kB / 1.274 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9421, allocations: 0 / 1.274 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001117/0.9422, allocations: 63.66 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.9422, allocations: 7.281 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.9422, allocations: 0.8906 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.9422, allocations: 0.6562 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.325e-05/0.9422, allocations: 6.547 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.9422, allocations: 0.8438 kB / 1.274 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/0.9423, allocations: 10.66 kB / 1.274 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.9423, allocations: 1.594 kB / 1.274 GB, free: 5.223 MB / 0.9981 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.716e-05/0.9423, allocations: 118.7 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.9423, allocations: 10.39 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.9424, allocations: 5.281 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.9424, allocations: 0 / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9424, allocations: 6.469 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9424, allocations: 3.938 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.9426, allocations: 359.3 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.9426, allocations: 0 / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-06/0.9426, allocations: 4.906 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.9426, allocations: 0.9375 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.9426, allocations: 3.938 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9426, allocations: 0 / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9426, allocations: 0.9375 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.358e-05/0.9426, allocations: 65.69 kB / 1.275 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.9427, allocations: 85.7 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.9427, allocations: 8.688 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.214e-05/0.9427, allocations: 0.875 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.9427, allocations: 1.625 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.9427, allocations: 0.75 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.099e-05/0.9427, allocations: 104.6 kB / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9427, allocations: 0 / 1.275 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002064/0.943, allocations: 10.08 kB / 1.275 GB, free: 4.422 MB / 0.9981 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.0003788/0.9433, allocations: 0.6241 MB / 1.276 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.9434, allocations: 23.56 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9434, allocations: 4 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.388e-06/0.9435, allocations: 6.375 kB / 1.276 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.9436, allocations: 3.438 kB / 1.276 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.9439, allocations: 154.1 kB / 1.276 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.9441, allocations: 0.683 MB / 1.277 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.9441, allocations: 8.781 kB / 1.277 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.9441, allocations: 14.8 kB / 1.277 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.9441, allocations: 0 / 1.277 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.9675, allocations: 1.617 MB / 1.278 GB, free: 18.46 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.857, allocations: 5.875 kB / 1.278 GB, free: 18.45 MB / 1.014 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 --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: 14.876043405005476]