Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001559/0.001559, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.594/2.594, allocations: 390.2 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003459, allocations: 12 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8162/0.8165, allocations: 142.3 MB / 0.9535 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0006963/0.8173, allocations: 259.1 kB / 0.9537 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003891/0.8177, allocations: 131.4 kB / 0.9539 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.8177, allocations: 1.625 kB / 0.9539 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.8178, allocations: 3.938 kB / 0.9539 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.8179, allocations: 9.469 kB / 0.9539 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.829e-05/0.818, allocations: 19.56 kB / 0.9539 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.689e-05/0.8181, allocations: 25.41 kB / 0.9539 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.036e-05/0.8182, allocations: 2.938 kB / 0.9539 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.725e-05/0.8182, allocations: 13.89 kB / 0.9539 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.8186, allocations: 285.4 kB / 0.9542 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.8186, allocations: 2.719 kB / 0.9542 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.634e-05/0.8187, allocations: 6.469 kB / 0.9542 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.8187, allocations: 10.55 kB / 0.9542 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.8187, allocations: 34.7 kB / 0.9543 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.809e-05/0.8188, allocations: 23.69 kB / 0.9543 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.8188, allocations: 4 kB / 0.9543 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8188, allocations: 0 / 0.9543 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.8188, allocations: 1.438 kB / 0.9543 GB, free: 7.766 MB / 0.7169 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.0002888/0.8191, allocations: 345.3 kB / 0.9546 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.8192, allocations: 10.03 kB / 0.9546 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.8192, allocations: 6.078 kB / 0.9546 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.8193, allocations: 169.9 kB / 0.9548 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.8194, allocations: 1.625 kB / 0.9548 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.8194, allocations: 1.312 kB / 0.9548 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.8195, allocations: 51.27 kB / 0.9548 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.8195, allocations: 3.938 kB / 0.9549 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.8195, allocations: 5.344 kB / 0.9549 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.8196, allocations: 1.125 kB / 0.9549 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.8196, allocations: 21.95 kB / 0.9549 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.82, allocations: 270.9 kB / 0.9551 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.606e-05/0.82, allocations: 16.08 kB / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.82, allocations: 0 / 0.9552 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.82, allocations: 43.89 kB / 0.9552 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.82, allocations: 3.938 kB / 0.9552 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.8202, allocations: 36.92 kB / 0.9552 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.8202, allocations: 51.41 kB / 0.9553 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.8203, allocations: 140.8 kB / 0.9554 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.673e-06/0.8203, allocations: 25.7 kB / 0.9554 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.8204, allocations: 95.58 kB / 0.9555 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.172e-06/0.8204, allocations: 5.344 kB / 0.9555 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.8204, allocations: 4 kB / 0.9555 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.09e-05/0.8205, allocations: 316.1 kB / 0.9558 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.8205, allocations: 9.25 kB / 0.9559 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.8205, allocations: 11.28 kB / 0.9559 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.8205, allocations: 7.766 kB / 0.9559 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8206, allocations: 1.312 kB / 0.9559 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.314e-05/0.8207, allocations: 62.22 kB / 0.9559 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.8207, allocations: 7.438 kB / 0.9559 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.8207, allocations: 7.953 kB / 0.9559 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.8207, allocations: 0 / 0.9559 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.699e-05/0.8207, allocations: 2.906 kB / 0.9559 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8208, allocations: 3.938 kB / 0.956 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.679e-05/0.8208, allocations: 5.375 kB / 0.956 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.8208, allocations: 1.469 kB / 0.956 GB, free: 6 MB / 0.7169 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 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/0.8209, allocations: 120.7 kB / 0.9561 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.8209, allocations: 6.906 kB / 0.9561 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.8209, allocations: 9.094 kB / 0.9561 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8209, allocations: 7.953 kB / 0.9561 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8209, allocations: 5.688 kB / 0.9561 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.8209, allocations: 3.938 kB / 0.9561 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.8211, allocations: 353.5 kB / 0.9564 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8212, allocations: 1.031 kB / 0.9564 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-06/0.8212, allocations: 0 / 0.9564 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.8212, allocations: 9.203 kB / 0.9565 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.8212, allocations: 0 / 0.9565 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8212, allocations: 0 / 0.9565 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8212, allocations: 5.125 kB / 0.9565 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.726e-05/0.8213, allocations: 64.5 kB / 0.9565 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.8213, allocations: 86.88 kB / 0.9566 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.8213, allocations: 5.016 kB / 0.9566 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.293e-05/0.8213, allocations: 0 / 0.9566 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.8214, allocations: 2.312 kB / 0.9566 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.8214, allocations: 0 / 0.9566 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.8214, allocations: 111.8 kB / 0.9567 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8214, allocations: 0 / 0.9567 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001973/0.8216, allocations: 9.281 kB / 0.9567 GB, free: 5.164 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002559/0.8219, allocations: 122.5 kB / 0.9568 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.968e-05/0.822, allocations: 20.92 kB / 0.9569 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.822, allocations: 4 kB / 0.9569 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.604e-06/0.822, allocations: 6.719 kB / 0.9569 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.8221, allocations: 3.719 kB / 0.9569 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.8224, allocations: 118.7 kB / 0.957 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.8225, allocations: 0.6905 MB / 0.9577 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.106e-05/0.8226, allocations: 8.219 kB / 0.9577 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.8226, allocations: 9.906 kB / 0.9577 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/0.8226, allocations: 0 / 0.9577 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.00271/0.8253, allocations: 0.5058 MB / 0.9582 GB, free: 3.934 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","../files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches