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.00197/0.00197, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002437/0.002437, allocations: 161.3 kB / 23.54 MB, free: 0.8672 MB / 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 1.503/1.503, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.884/2.884, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.543e-06/1.543e-06, allocations: 0 / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.936e-05, allocations: 3.406 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.00161/0.001639, allocations: 0.5408 MB / 0.8113 GB, free: 1.613 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004583/0.002097, allocations: 156 kB / 0.8114 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.002134, allocations: 1.594 kB / 0.8114 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.002153, allocations: 3.938 kB / 0.8114 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.002357, allocations: 3.938 kB / 0.8115 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.708e-05/0.002434, allocations: 27.91 kB / 0.8115 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.002504, allocations: 28.89 kB / 0.8115 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.00255, allocations: 7.984 kB / 0.8115 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.00259, allocations: 12.77 kB / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004465/0.003037, allocations: 340.2 kB / 0.8119 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.003052, allocations: 0 / 0.8119 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/0.003132, allocations: 19.92 kB / 0.8119 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.003148, allocations: 4 kB / 0.8119 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.003175, allocations: 7.938 kB / 0.8119 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.003289, allocations: 37.41 kB / 0.8119 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.003293, allocations: 4 kB / 0.8119 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003294, allocations: 0 / 0.8119 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.003298, allocations: 0 / 0.8119 GB, free: 1.008 MB / 0.7605 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.0004098/0.003708, allocations: 275.5 kB / 0.8122 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.003747, allocations: 11.98 kB / 0.8122 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.003793, allocations: 4.938 kB / 0.8122 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.003923, allocations: 117.6 kB / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.003935, allocations: 6.062 kB / 0.8123 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.003946, allocations: 8.375 kB / 0.8123 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.004086, allocations: 50.23 kB / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.004095, allocations: 192 / 0.8124 GB, free: 500 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.004106, allocations: 5.312 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.00411, allocations: 0 / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.065e-05/0.004161, allocations: 15.98 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.004521, allocations: 224.6 kB / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 5.398e-05/0.004575, allocations: 28.05 kB / 0.8126 GB, free: 188 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.004592, allocations: 4.859 kB / 0.8126 GB, free: 180 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-06/0.004598, allocations: 0 / 0.8126 GB, free: 180 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.004635, allocations: 34.56 kB / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.004636, allocations: 6.656 kB / 0.8127 GB, free: 132 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001491/0.004785, allocations: 33.66 kB / 0.8127 GB, free: 92 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.004837, allocations: 63.34 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.005016, allocations: 137.8 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.005039, allocations: 29.7 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.005106, allocations: 92.05 kB / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/0.005113, allocations: 4.719 kB / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.005165, allocations: 25.7 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.005343, allocations: 315.4 kB / 0.8133 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.268e-05/0.005376, allocations: 17.64 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/0.005403, allocations: 8 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.005446, allocations: 20.84 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.005449, allocations: 3.938 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001349/0.005584, allocations: 70.11 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.005597, allocations: 4 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.005601, allocations: 0.5312 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.005619, allocations: 4.844 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.895e-05/0.005638, allocations: 0 / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.005643, allocations: 1.156 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/0.005675, allocations: 4 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.005682, allocations: 0 / 0.8135 GB, free: 15.25 MB / 0.7761 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 0.0001041/0.005787, allocations: 126.2 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.005828, allocations: 4.984 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.005862, allocations: 11.41 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.005863, allocations: 0 / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.005868, allocations: 0.9062 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.00587, allocations: 0 / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.006195, allocations: 315.1 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006197, allocations: 0 / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-06/0.006204, allocations: 4 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.006205, allocations: 2.156 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.00621, allocations: 192 / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.006216, allocations: 7.984 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006217, allocations: 0 / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.17e-05/0.006309, allocations: 61.03 kB / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.00632, allocations: 6.656 kB / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.006333, allocations: 0 / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/0.006349, allocations: 4 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.00637, allocations: 7.922 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.006374, allocations: 4 kB / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.181e-05/0.006456, allocations: 96.81 kB / 0.8141 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.006456, allocations: 0 / 0.8141 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002141/0.00667, allocations: 17.62 kB / 0.8141 GB, free: 14.54 MB / 0.7761 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.0003151/0.006985, allocations: 134.9 kB / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.22e-05/0.007077, allocations: 21.81 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007079, allocations: 0 / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.919e-06/0.007088, allocations: 4 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.007235, allocations: 7.984 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.00751, allocations: 113.9 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.77e-05/0.007587, allocations: 75.05 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.038e-05/0.007618, allocations: 12.97 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.007647, allocations: 8.5 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of SimCode: time 4.2e-07/0.007647, allocations: 0.6562 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of Templates: time 0.003147/0.01079, allocations: 0.5647 MB / 0.815 GB, free: 13.58 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.816308027948253]