Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9747/0.9747, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.953/1.953, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064e-05/1.178e-05, allocations: 2.312 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001056/0.001068, allocations: 0.594 MB / 0.7606 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003179/0.001385, allocations: 156.5 kB / 0.7607 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.00141, allocations: 0 / 0.7607 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.001424, allocations: 4.594 kB / 0.7607 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.001604, allocations: 13.34 kB / 0.7608 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.177e-05/0.001656, allocations: 28.5 kB / 0.7608 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.00171, allocations: 29.78 kB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.001744, allocations: 0.9844 kB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.001923, allocations: 17.73 kB / 0.7608 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.002163, allocations: 337.2 kB / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.002178, allocations: 4 kB / 0.7612 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.888e-05/0.002236, allocations: 13.25 kB / 0.7612 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.002249, allocations: 6.938 kB / 0.7612 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.49e-05/0.002264, allocations: 12.86 kB / 0.7612 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.885e-05/0.002343, allocations: 39.33 kB / 0.7612 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.002344, allocations: 0 / 0.7612 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002345, allocations: 1.203 kB / 0.7612 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.002348, allocations: 1.25 kB / 0.7612 GB, free: 5.492 MB / 0.7136 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.0002043/0.002553, allocations: 256.7 kB / 0.7615 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.002583, allocations: 11.98 kB / 0.7615 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.002609, allocations: 4.938 kB / 0.7615 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.463e-05/0.002683, allocations: 110.8 kB / 0.7616 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.002693, allocations: 384 / 0.7616 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.0027, allocations: 4.906 kB / 0.7616 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.624e-05/0.002766, allocations: 47.22 kB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.002772, allocations: 1.688 kB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.002779, allocations: 8.109 kB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.002784, allocations: 0 / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.615e-05/0.0028, allocations: 11.98 kB / 0.7617 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.002998, allocations: 173.5 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.721e-05/0.003025, allocations: 22.52 kB / 0.7618 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-06/0.003034, allocations: 8.922 kB / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.00304, allocations: 5.438 kB / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.003059, allocations: 35.31 kB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.00306, allocations: 0 / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 7.608e-05/0.003136, allocations: 30.2 kB / 0.7619 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.003165, allocations: 60.09 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.003237, allocations: 141.1 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.003244, allocations: 26.45 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.003277, allocations: 101.1 kB / 0.7622 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.00328, allocations: 0.7188 kB / 0.7622 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.003311, allocations: 33.64 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.303e-05/0.003374, allocations: 316.3 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.003384, allocations: 8 kB / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.003394, allocations: 7.984 kB / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.317e-05/0.003417, allocations: 16.84 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.003418, allocations: 0.6562 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.622e-05/0.003474, allocations: 57.55 kB / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.003484, allocations: 5.719 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.003488, allocations: 0.6562 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.003499, allocations: 0 / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.559e-05/0.003514, allocations: 4 kB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.003517, allocations: 2.438 kB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.003532, allocations: 8 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.003537, allocations: 0 / 0.7627 GB, free: 3.867 MB / 0.7136 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 (cmp1,cmp2,cmp3,cmp4,cmp5,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.624e-05/0.003583, allocations: 114.4 kB / 0.7628 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.003597, allocations: 3.938 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.003615, allocations: 11.47 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.003616, allocations: 2.531 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.003617, allocations: 0 / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.00362, allocations: 3.938 kB / 0.7628 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.003761, allocations: 274.9 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.003762, allocations: 0 / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-06/0.003764, allocations: 0 / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-07/0.003764, allocations: 0 / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-06/0.003767, allocations: 1.188 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.003768, allocations: 4 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.003769, allocations: 0 / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.929e-05/0.003808, allocations: 62.03 kB / 0.7631 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.003816, allocations: 7.953 kB / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-06/0.003823, allocations: 2.938 kB / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.131e-06/0.003829, allocations: 0 / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.003843, allocations: 7.922 kB / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-06/0.003844, allocations: 0 / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.883e-05/0.003863, allocations: 28.83 kB / 0.7632 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.003863, allocations: 0 / 0.7632 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001057/0.003968, allocations: 15.94 kB / 0.7632 GB, free: 3.281 MB / 0.7136 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.0001806/0.004149, allocations: 113.8 kB / 0.7633 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.162e-05/0.004201, allocations: 20.84 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.004204, allocations: 0 / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-06/0.004209, allocations: 6.422 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.643e-05/0.004265, allocations: 7.938 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001539/0.004419, allocations: 124.4 kB / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.637e-05/0.004446, allocations: 60.47 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.921e-05/0.004465, allocations: 8.125 kB / 0.7635 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.004495, allocations: 51.38 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/0.004495, allocations: 0.6562 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of Templates: time 0.001991/0.006486, allocations: 0.6579 MB / 0.7642 GB, free: 2.238 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.031568119302392]